Package io.helidon.microprofile.tyrus
Class TyrusUpgradeProvider
java.lang.Object
io.helidon.webserver.websocket.WsUpgradeProvider
io.helidon.microprofile.tyrus.TyrusUpgradeProvider
- All Implemented Interfaces:
Http1UpgradeProvider<WsConfig>
ServiceLoader
provider implementation for upgrade from HTTP/1.1 to Tyrus connection.-
Field Summary
Fields inherited from class io.helidon.webserver.websocket.WsUpgradeProvider
CONFIG_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(WsConfig config, ProtocolConfigs configs) Creates an instance of HTTP/HTTP/1.1 connection upgrader.Methods inherited from class io.helidon.webserver.websocket.WsUpgradeProvider
protocolConfigType, protocolType
-
Constructor Details
-
TyrusUpgradeProvider
Deprecated.This constructor is only to be used byServiceLoader
.
-
-
Method Details
-
create
Description copied from interface:Http1UpgradeProvider
Creates an instance of HTTP/HTTP/1.1 connection upgrader.- Specified by:
create
in interfaceHttp1UpgradeProvider<WsConfig>
- Overrides:
create
in classWsUpgradeProvider
- Parameters:
config
- configuration of this protocolconfigs
- configuration for possible nested protocols- Returns:
- new server HTTP/1.1 connection upgrade selector
-
ServiceLoader
.