Package org.forgerock.http.decoder
Interface Decoder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamdecode(InputStream in)Returns an instance of an input stream that decodes the specified input.StringgetKey()Returns the coding that the decoder supports, as it would appear in theContent-Encodingheader.
-
-
-
Method Detail
-
getKey
String getKey()
Returns the coding that the decoder supports, as it would appear in theContent-Encodingheader.
-
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.
-
-