Class GzipEncoding
java.lang.Object
io.helidon.http.encoding.gzip.GzipEncoding
- All Implemented Interfaces:
NamedService, ContentEncoding
Support for gzip content encoding.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GzipEncodingcreate()Create a new gzip encoding.decoder()To decode bytes.encoder()To encode bytes.ids()Identification(s) of this scheme.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
-
ids
Description copied from interface:ContentEncodingIdentification(s) of this scheme.Helidon accepts these identifiers in request
Accept-Encodingheaders. When automatic response encoding selects one of these identifiers, that selected identifier is the responseContent-Encoding.- 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
-
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
-