- Type Parameters:
A
- the type of the decoded object
- All Superinterfaces:
InboundData<A>
A request payload consumer used to decode the payload to a single object or many objects.
Implementors should rely on a MediaTypeConverter
to decode a raw payload as a publisher of ByteBuf
to a publisher of decoded objects.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Methods inherited from interface io.inverno.mod.http.base.InboundData
stream
-
Method Details
-
one
Decodes the payload into one single object.
- Returns:
- a mono emitting the decoded object
-
many
Decodes the payload into many objects.
- Returns:
- a flux emitting the decoded objects
-