Package org.forgerock.http.decoder
Interface FlowableDecoder
Decodes an HTTP message entity flow.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<String,
FlowableDecoder> Mapping of supported codings to associated decoders. -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<ByteBuffer>
decode
(io.reactivex.rxjava3.core.Flowable<ByteBuffer> in) Returns an instance of a flowable that decodes the specified input.getKey()
Returns the coding that the decoder supports, as it would appear in theContent-Encoding
header.
-
Field Details
-
SERVICES
Mapping of supported codings to associated decoders.
-
-
Method Details
-
getKey
String getKey()Returns the coding that the decoder supports, as it would appear in theContent-Encoding
header. -
decode
io.reactivex.rxjava3.core.Flowable<ByteBuffer> decode(io.reactivex.rxjava3.core.Flowable<ByteBuffer> in) Returns an instance of a flowable that decodes the specified input. If in contains an error, the error will be propagated.- Parameters:
in
- The flowable to be decoded.- Returns:
- a flowable exposing the decoded content.
-