java.lang.Object
io.helidon.webserver.websocket.WsUpgrader
io.helidon.microprofile.tyrus.TyrusUpgrader
- All Implemented Interfaces:
Http1Upgrader
Tyrus connection upgrade provider.
-
Field Summary
Fields inherited from class io.helidon.webserver.websocket.WsUpgrader
EXTENSIONS, PROTOCOL, SUPPORTED_VERSION, SUPPORTED_VERSION_HEADER, SWITCHING_PROTOCOL_PREFIX, SWITCHING_PROTOCOLS_SUFFIX, WS_KEY, WS_VERSION -
Method Summary
Modifier and TypeMethodDescriptionstatic TyrusUpgraderCreate a new configured instance of Tyrus upgrader.origins()upgrade(ConnectionContext ctx, io.helidon.http.HttpPrologue prologue, io.helidon.http.WritableHeaders<?> headers) Methods inherited from class io.helidon.webserver.websocket.WsUpgrader
anyOrigin, hash, supportedProtocol
-
Method Details
-
create
Create a new configured instance of Tyrus upgrader.- Parameters:
config- configuration of WebSocket- Returns:
- a new HTTP/1 upgrader
-
upgrade
public ServerConnection upgrade(ConnectionContext ctx, io.helidon.http.HttpPrologue prologue, io.helidon.http.WritableHeaders<?> headers) - Specified by:
upgradein interfaceHttp1Upgrader- Overrides:
upgradein classWsUpgrader
-
origins
- Overrides:
originsin classWsUpgrader
-