java.lang.Object
io.helidon.webserver.http2.Http2UpgradeProvider
- All Implemented Interfaces:
Http1UpgradeProvider<Http2Config>
ServiceLoader
upgrade protocol provider to upgrade from HTTP/1.1 to HTTP/2.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Http2UpgradeProvider.Builder
builder()
Builder to set up this provider.create
(Http2Config config, ProtocolConfigs configs) Creates an instance of HTTP/HTTP/1.1 connection upgrader.Type of supported configuration.Provider's type.
-
Constructor Details
-
Http2UpgradeProvider
public Http2UpgradeProvider()Deprecated.to be used solely byServiceLoader
Create a new instance with default configuration.
-
-
Method Details
-
builder
Builder to set up this provider.- Returns:
- a new builder
-
protocolType
Description copied from interface:Http1UpgradeProvider
Provider's type.- Specified by:
protocolType
in interfaceHttp1UpgradeProvider<Http2Config>
- Returns:
- protocol type (also the type expected in configuration)
-
protocolConfigType
Description copied from interface:Http1UpgradeProvider
Type of supported configuration.- Specified by:
protocolConfigType
in interfaceHttp1UpgradeProvider<Http2Config>
- Returns:
- protocol config type
-
create
Description copied from interface:Http1UpgradeProvider
Creates an instance of HTTP/HTTP/1.1 connection upgrader.- Specified by:
create
in interfaceHttp1UpgradeProvider<Http2Config>
- Parameters:
config
- configuration of this protocolconfigs
- configuration for possible nested protocols- Returns:
- new server HTTP/1.1 connection upgrade selector
-
ServiceLoader