public interface Decoder extends Indexed<String>
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Decoder> |
SERVICES
Mapping of supported codings to associated decoders.
|
| Modifier and Type | Method and 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 the
Content-Encoding header. |
String getKey()
Content-Encoding header.InputStream decode(InputStream in) throws IOException
in - The input stream to be decoded.IOException - If an I/O exception occurs during decoding.Copyright © 2025 Open Identity Platform Community. All rights reserved.