Module io.helidon.webserver.http2
Package io.helidon.webserver.http2
Class Http2UpgradeProvider.Builder
java.lang.Object
io.helidon.webserver.http2.Http2UpgradeProvider.Builder
- All Implemented Interfaces:
io.helidon.common.Builder<Http2UpgradeProvider.Builder,,Http2UpgradeProvider> Supplier<Http2UpgradeProvider>
- Enclosing class:
Http2UpgradeProvider
public static class Http2UpgradeProvider.Builder
extends Object
implements io.helidon.common.Builder<Http2UpgradeProvider.Builder,Http2UpgradeProvider>
Fluent API builder for
Http2UpgradeProvider.-
Method Summary
Modifier and TypeMethodDescriptionAdd a configured sub-protocol provider.build()http2Config(Http2Config http2Config) Custom configuration of HTTP/2 connections.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<Http2UpgradeProvider.Builder,Http2UpgradeProvider>
-
http2Config
Custom configuration of HTTP/2 connections. If not defined, it will be configured from config, or defaults would be used.- Parameters:
http2Config- HTTP/2 configuration- Returns:
- updated builder
-
addSubProtocolProvider
Add a configured sub-protocol provider. This will replace the instance discovered through service loader (if one exists).- Parameters:
provider- provider to add- Returns:
- updated builer
-