Package org.forgerock.http.decoder
Interface Decoder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
decode(InputStream in)
Returns an instance of an input stream that decodes the specified input.String
getKey()
Returns the coding that the decoder supports, as it would appear in theContent-Encoding
header.
-
-
-
Method Detail
-
getKey
String getKey()
Returns the coding that the decoder supports, as it would appear in theContent-Encoding
header.
-
decode
InputStream decode(InputStream in) throws IOException
Returns an instance of an input stream that decodes the specified input.- Parameters:
in
- The input stream to be decoded.- Returns:
- an input stream exposing the decoded content.
- Throws:
IOException
- If an I/O exception occurs during decoding.
-
-