T
- the type of object to parse the request intopublic interface Parse<T>
The minimum requirement of a parse object is to specify what the object type should be. Specialisations of this type may provide more information that can be used in deserialization.
Importantly, parse objects are agnostic to the type of the request body.
Different Parser
implementations are responsible for converting from different mime types to object types.
For no option parse objects, use NoOptParse
.
To implement a custom parse type with objects, see ParseSupport
Parser
,
NoOptParse
,
ParserSupport