Module io.helidon.webserver
Package io.helidon.webserver.http1
Interface Http1ConnectionSelectorConfig
- All Superinterfaces:
Prototype.Api,Prototype.Factory<Http1ConnectionSelector>
- All Known Implementing Classes:
Http1ConnectionSelectorConfig.BuilderBase.Http1ConnectionSelectorConfigImpl
Configuration of an
Http1ConnectionSelector.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forHttp1ConnectionSelector.static classHttp1ConnectionSelectorConfig.BuilderBase<BUILDER extends Http1ConnectionSelectorConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends Http1ConnectionSelectorConfig> Fluent API builder base forHttp1ConnectionSelector. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(Http1ConnectionSelectorConfig instance) Create a new fluent API builder from an existing instance.config()HTTP/1 protocol configuration to use for this connection selector.create()Create a new instance with default values.Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).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 with default values.- Returns:
- a new instance
-
upgraders
Map<String,Http1Upgrader> upgraders()Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).- Returns:
- map of protocol name to upgrader
-
config
Http1Config config()HTTP/1 protocol configuration to use for this connection selector.- Returns:
- HTTP/1 protocol configuration
-