Package org.forgerock.http.decoder
Interface FlowableDecoder
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,FlowableDecoder>
SERVICES
Mapping of supported codings to associated decoders.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.String
getKey()
Returns the coding that the decoder supports, as it would appear in theContent-Encoding
header.
-
-
-
Field Detail
-
SERVICES
static final Map<String,FlowableDecoder> SERVICES
Mapping of supported codings to associated decoders.
-
-
Method Detail
-
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.
-
-