Package org.forgerock.http.decoder
Interface Decoder
Decodes an HTTP message entity input stream.
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptiondecode(InputStream in) Returns an instance of an input stream that decodes the specified input.getKey()Returns the coding that the decoder supports, as it would appear in theContent-Encodingheader. 
- 
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-Encodingheader. - 
decode
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.
 
 -