Package org.apache.juneau.httppart
Interface HttpPartSerializer
- All Known Subinterfaces:
- HttpPartSerializer.Void
- All Known Implementing Classes:
- BaseHttpPartSerializer,- OpenApiSerializer,- SimplePartSerializer,- UonSerializer,- UonSerializer.Encoding,- UonSerializer.Readable,- UrlEncodingSerializer,- UrlEncodingSerializer.Expanded,- UrlEncodingSerializer.PlainText,- UrlEncodingSerializer.Readable
public interface HttpPartSerializer
Interface used to convert POJOs to simple strings in HTTP headers, query parameters, form-data parameters, and URI
 path variables.
 
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()
- RestClient.Builder.partSerializer(Class) 
Implementations must include either a public no-args constructor.
See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classA creator for a part serializer.static interfaceRepresent "no" part part serializer.
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpPartSerializer.Creatorcreator()Instantiates a creator for a part serializer.Creates a new serializer session.
- 
Method Details- 
creatorInstantiates a creator for a part serializer.- Returns:
- A new creator.
 
- 
getPartSessionCreates a new serializer session.- Returns:
- A new serializer session.
 
 
-