Module io.helidon.webserver
Package io.helidon.webserver.http1
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 io.helidon.webserver.http1.Http1ConnectionSelectorConfig
Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelectorConfig.BuilderBase<BUILDER extends Http1ConnectionSelectorConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http1ConnectionSelectorConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a new instance of the runtime type from this config object.config()
HTTP/1 protocol configuration to use for this connection selector.boolean
get()
int
hashCode()
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
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<Http1ConnectionSelector>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<Http1ConnectionSelector>
-
upgraders
Description copied from interface:Http1ConnectionSelectorConfig
Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket
).- Specified by:
upgraders
in interfaceHttp1ConnectionSelectorConfig
- Returns:
- map of protocol name to upgrader
-
config
Description copied from interface:Http1ConnectionSelectorConfig
HTTP/1 protocol configuration to use for this connection selector.- Specified by:
config
in interfaceHttp1ConnectionSelectorConfig
- Returns:
- HTTP/1 protocol configuration
-
toString
-
equals
-
hashCode
public int hashCode()
-