public interface HttpEncoding
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(byte[] content)
Decodes the given content.
|
byte[] |
encode(byte[] content)
Encodes the given content.
|
byte[] encode(byte[] content) throws IOException
content
- the content to encode.IOException
- if an error occurred while encoding the content.byte[] decode(byte[] content) throws IOException
content
- the content to decode.IOException
- if an error occurred while decoding the content.