Interface ContentEncoding
- All Superinterfaces:
NamedService
- All Known Implementing Classes:
DeflateEncoding, GzipEncoding
Content encoding service created from
ContentEncodingProvider,
or directly implemented.
Content encoding/decoding modifies bytes on the wire, for example to compress it.-
Method Summary
Methods inherited from interface NamedService
name, typeModifier and TypeMethodDescriptionname()Name of this implementation, as provided inConfiguredProvider.create(Config, String).type()Type of this implementation, to distinguish instances of same type, with differentNamedService.name().
-
Method Details
-
ids
-
supportsEncoding
boolean supportsEncoding()Does this provider support encoding.- Returns:
- encoding supported
-
supportsDecoding
boolean supportsDecoding()Does this provider support decoding.- Returns:
- decoding supported
-
decoder
-
encoder
-