Class Http1ConnectionSelectorConfig.Builder
java.lang.Object
io.helidon.webserver.http1.Http1ConnectionSelectorConfig.BuilderBase<Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelectorConfig>
io.helidon.webserver.http1.Http1ConnectionSelectorConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelectorConfig>, Builder<Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelector>, Supplier<Http1ConnectionSelector>
- Enclosing interface:
Http1ConnectionSelectorConfig
public static class Http1ConnectionSelectorConfig.Builder
extends Http1ConnectionSelectorConfig.BuilderBase<Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelectorConfig>
implements Builder<Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelector>
Fluent API builder for
Http1ConnectionSelector.-
Nested Class Summary
Nested classes/interfaces inherited from class Http1ConnectionSelectorConfig.BuilderBase
Http1ConnectionSelectorConfig.BuilderBase.Http1ConnectionSelectorConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class Http1ConnectionSelectorConfig.BuilderBase
addUpgrader, addUpgraders, config, config, config, config, from, from, preBuildPrototype, putUpgrader, toString, upgraders, upgraders, validatePrototypeModifier and TypeMethodDescriptionaddUpgrader(Http1Upgrader upgrader) Add a new upgrader, replacing an existing one for the same protocol.addUpgraders(Map<String, ? extends Http1Upgrader> upgraders) Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).config()HTTP/1 protocol configuration to use for this connection selector.config(Http1Config config) HTTP/1 protocol configuration to use for this connection selector.config(Consumer<Http1Config.Builder> consumer) HTTP/1 protocol configuration to use for this connection selector.config(Supplier<? extends Http1Config> supplier) HTTP/1 protocol configuration to use for this connection selector.from(Http1ConnectionSelectorConfig prototype) Update this builder from an existing prototype instance.from(Http1ConnectionSelectorConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.putUpgrader(String key, Http1Upgrader upgrader) Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).toString()Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).upgraders(Map<String, ? extends Http1Upgrader> upgraders) Upgraders to support upgrading from HTTP/1.1 to a different protocol (such aswebsocket).protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault Http1ConnectionSelectorget()identity()Instance of this builder as the correct type.update(Consumer<Http1ConnectionSelectorConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
self
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelectorConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<Http1ConnectionSelectorConfig.Builder, Http1ConnectionSelector>- Returns:
- instance of the built type
-