Module io.helidon.http.encoding
Package io.helidon.http.encoding
Interface ContentEncodingContextConfig
- All Superinterfaces:
Prototype.Api
,Prototype.Factory<ContentEncodingContext>
- All Known Implementing Classes:
ContentEncodingContextConfig.BuilderBase.ContentEncodingContextConfigImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Fluent API builder forContentEncodingContext
.static class
ContentEncodingContextConfig.BuilderBase<BUILDER extends ContentEncodingContextConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ContentEncodingContextConfig> Fluent API builder base forContentEncodingContext
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a new fluent API builder to customize configuration.builder
(ContentEncodingContextConfig instance) Create a new fluent API builder from an existing instance.List of content encodings that should be used.static ContentEncodingContextConfig
create()
Create a new instance with default values.static ContentEncodingContextConfig
Create a new instance from configuration.Methods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
contentEncodings
List<ContentEncoding> contentEncodings()List of content encodings that should be used. Encodings configured here have priority over encodings discovered through service loader.- Returns:
- list of content encodings to be used (such as
gzip,deflate
)
-