public interface HttpPartSerializer
The following default implementations are provided:
OpenApiSerializer
- Parts encoded based on OpenAPI schema.
UonSerializer
- Parts encoded in UON notation.
SimplePartSerializer
- Parts encoded in plain text.
This class is used in the following locations:
FormData.serializer()
Query.serializer()
Header.serializer()
Path.serializer()
Request.serializer()
Response.serializer()
Implementations must include either a public no-args constructor or a public constructor that takes in a single
PropertyStore
object.
Modifier and Type | Interface and Description |
---|---|
static interface |
HttpPartSerializer.Null
Represent "no" part part serializer.
|
Modifier and Type | Method and Description |
---|---|
HttpPartSerializerSession |
createPartSession(SerializerSessionArgs args)
Creates a new serializer session.
|
HttpPartSerializerSession createPartSession(SerializerSessionArgs args)
args
- The runtime arguments for the session.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.