Package io.helidon.http.encoding.deflate
Class DeflateEncoding
java.lang.Object
io.helidon.http.encoding.deflate.DeflateEncoding
- All Implemented Interfaces:
NamedService,ContentEncoding
Support for
deflate content encoding.-
Method Summary
Modifier and TypeMethodDescriptionstatic DeflateEncodingcreate()Create a new deflate encoding.decoder()To decode bytes.encoder()To encode bytes.ids()Identification(s) of this scheme as used inAccept-EncodingandContent-Encodingheaders.name()Name of this implementation, as provided inConfiguredProvider.create(Config, String).booleanDoes this provider support decoding.booleanDoes this provider support encoding.type()Type of this implementation, to distinguish instances of same type, with differentNamedService.name().
-
Method Details
-
create
Create a new deflate encoding.- Returns:
- deflate encoding
-
name
Description copied from interface:NamedServiceName of this implementation, as provided inConfiguredProvider.create(Config, String).- Specified by:
namein interfaceNamedService- Returns:
- name of this service
-
type
Description copied from interface:NamedServiceType of this implementation, to distinguish instances of same type, with differentNamedService.name(). Use for exampleConfiguredProvider.configKey()to define the type.- Specified by:
typein interfaceNamedService- Returns:
- type of this service
-
ids
Description copied from interface:ContentEncodingIdentification(s) of this scheme as used inAccept-EncodingandContent-Encodingheaders.- Specified by:
idsin interfaceContentEncoding- Returns:
- identifications, such as
deflate,gzip
-
supportsEncoding
public boolean supportsEncoding()Description copied from interface:ContentEncodingDoes this provider support encoding.- Specified by:
supportsEncodingin interfaceContentEncoding- Returns:
- encoding supported
-
supportsDecoding
public boolean supportsDecoding()Description copied from interface:ContentEncodingDoes this provider support decoding.- Specified by:
supportsDecodingin interfaceContentEncoding- Returns:
- decoding supported
-
decoder
Description copied from interface:ContentEncodingTo decode bytes.- Specified by:
decoderin interfaceContentEncoding- Returns:
- decoder
-
encoder
Description copied from interface:ContentEncodingTo encode bytes.- Specified by:
encoderin interfaceContentEncoding- Returns:
- encoder
-