- 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 io.helidon.common.config.NamedService
name, type
-
Method Details
-
ids
Identification(s) of this scheme as used inAccept-Encoding
andContent-Encoding
headers.- Returns:
- identifications, such as
deflate
,gzip
-
supportsEncoding
boolean supportsEncoding()Does this provider support encoding.- Returns:
- encoding supported
-
supportsDecoding
boolean supportsDecoding()Does this provider support decoding.- Returns:
- decoding supported
-
decoder
ContentDecoder decoder()To decode bytes.- Returns:
- decoder
-
encoder
ContentEncoder encoder()To encode bytes.- Returns:
- encoder
-