Package org.apache.juneau.rest.httppart
Class ResponsePartMeta
java.lang.Object
org.apache.juneau.rest.httppart.ResponsePartMeta
Represents the information needed to serialize a response part such as a response header or content.
See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionResponsePartMeta
(HttpPartType partType, HttpPartSchema schema, HttpPartSerializer serializer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the part type.Returns the part schema.Returns the part serializer.
-
Field Details
-
NULL
Represents a non-existent meta.
-
-
Constructor Details
-
ResponsePartMeta
public ResponsePartMeta(HttpPartType partType, HttpPartSchema schema, HttpPartSerializer serializer) Constructor.- Parameters:
partType
- The part type.schema
- The part schema.serializer
- The serializer to use to serialize the part.
-
-
Method Details
-
getPartType
Returns the part type.- Returns:
- The part type.
-
getSchema
Returns the part schema.- Returns:
- The part schema.
-
getSerializer
Returns the part serializer.- Returns:
- The part serializer.
-