public class ResponsePartMeta extends Object
Modifier and Type | Field and Description |
---|---|
static ResponsePartMeta |
NULL
Represents a non-existent meta.
|
Constructor and Description |
---|
ResponsePartMeta(HttpPartType partType,
HttpPartSchema schema,
HttpPartSerializer serializer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HttpPartType |
getPartType()
Returns the part type.
|
HttpPartSchema |
getSchema()
Returns the part schema.
|
HttpPartSerializer |
getSerializer()
Returns the part serializer.
|
public static final ResponsePartMeta NULL
public ResponsePartMeta(HttpPartType partType, HttpPartSchema schema, HttpPartSerializer serializer)
partType
- The part type.schema
- The part schema.serializer
- The serializer to use to serialize the part.public HttpPartType getPartType()
public HttpPartSchema getSchema()
public HttpPartSerializer getSerializer()
Copyright © 2018 Apache. All rights reserved.