Class Http1ConnectionSelectorConfig.BuilderBase.Http1ConnectionSelectorConfigImpl
java.lang.Object
io.helidon.webserver.http1.Http1ConnectionSelectorConfig.BuilderBase.Http1ConnectionSelectorConfigImpl
- All Implemented Interfaces:
Prototype.Api, Prototype.Factory<Http1ConnectionSelector>, Http1ConnectionSelectorConfig, Supplier<Http1ConnectionSelector>
- Enclosing class:
Http1ConnectionSelectorConfig.BuilderBase<BUILDER extends Http1ConnectionSelectorConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Http1ConnectionSelectorConfig>
protected static class Http1ConnectionSelectorConfig.BuilderBase.Http1ConnectionSelectorConfigImpl
extends Object
implements Http1ConnectionSelectorConfig, Supplier<Http1ConnectionSelector>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Http1ConnectionSelectorConfig
Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelectorConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forHttp1ConnectionSelector.static classHttp1ConnectionSelectorConfig.BuilderBase<BUILDER extends Http1ConnectionSelectorConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Http1ConnectionSelectorConfig>Fluent API builder base forHttp1ConnectionSelectorConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create a new runtime instance from this prototype.config()HTTP/1 protocol configuration to use for this connection selector.booleanget()inthashCode()toString()Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).
-
Constructor Details
-
Http1ConnectionSelectorConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
build
Create a new runtime instance from this prototype.- Specified by:
buildin interfacePrototype.Factory<Http1ConnectionSelector>- Returns:
- new configured runtime instance
-
get
- Specified by:
getin interfaceSupplier<Http1ConnectionSelector>
-
upgraders
Description copied from interface:Http1ConnectionSelectorConfigUpgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).- Specified by:
upgradersin interfaceHttp1ConnectionSelectorConfig- Returns:
- map of protocol name to upgrader
-
config
Description copied from interface:Http1ConnectionSelectorConfigHTTP/1 protocol configuration to use for this connection selector.- Specified by:
configin interfaceHttp1ConnectionSelectorConfig- Returns:
- HTTP/1 protocol configuration
-
toString
-
equals
-
hashCode
-