Module io.helidon.nima.webserver
Package io.helidon.nima.webserver.http1
Class Http1ConnectionProvider.Builder
java.lang.Object
io.helidon.nima.webserver.http1.Http1ConnectionProvider.Builder
- All Implemented Interfaces:
io.helidon.common.Builder<Http1ConnectionProvider.Builder,,Http1ConnectionProvider> Supplier<Http1ConnectionProvider>
- Enclosing class:
Http1ConnectionProvider
public static class Http1ConnectionProvider.Builder
extends Object
implements io.helidon.common.Builder<Http1ConnectionProvider.Builder,Http1ConnectionProvider>
Fluent API builder for
Http1ConnectionProvider.-
Method Summary
Modifier and TypeMethodDescriptionaddUpgradeProvider(Http1UpgradeProvider provider) Add a configured upgrade provider.build()http1Config(Http1Config http1Config) Custom configuration of HTTP/1 connection provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.common.Builder
get, identity, update
-
Method Details
-
build
- Specified by:
buildin interfaceio.helidon.common.Builder<Http1ConnectionProvider.Builder,Http1ConnectionProvider>
-
http1Config
Custom configuration of HTTP/1 connection provider. If not defined, it will be configured from config, or defaults would be used.- Parameters:
http1Config- HTTP/1 configuration- Returns:
- updated builder
-
addUpgradeProvider
Add a configured upgrade provider. This will replace the instance discovered through service loader (if one exists).- Parameters:
provider- provider to add- Returns:
- updated builder
-