Uses of Class
org.glassfish.tyrus.spi.UpgradeRequest
Package
Description
Common Client.
Core classes.
Tyrus SPI.
-
Uses of UpgradeRequest in org.glassfish.tyrus.client
Modifier and TypeMethodDescriptionTyrusClientEngine.createUpgradeRequest
(ClientEngine.TimeoutHandler timeoutHandler) -
Uses of UpgradeRequest in org.glassfish.tyrus.core
Modifier and TypeClassDescriptionfinal class
Implementation of all possible request interfaces.Modifier and TypeMethodDescriptionHandshake.prepareRequest()
Client side only - compose theUpgradeRequest
and store it for further use.Modifier and TypeMethodDescriptionProtocolHandler.handshake
(TyrusEndpointWrapper endpointWrapper, UpgradeRequest request, UpgradeResponse response, ExtendedExtension.ExtensionContext extensionContext) Server side handshake processing.void
TyrusWebSocket.onConnect
(UpgradeRequest upgradeRequest, String subProtocol, List<Extension> extensions, String connectionId, DebugContext debugContext) This callback will be invoked when the opening handshake between both endpoints has been completed.static String
Utils.stringifyUpgradeRequest
(UpgradeRequest upgradeRequest) Converts upgrade request to a HTTP-formatted string.static void
Handshake.updateHostAndOrigin
(UpgradeRequest upgradeRequest) Client side only - Generate host and origin header and put them to the upgrade request headers.TyrusWebSocketEngine.upgrade
(UpgradeRequest request, UpgradeResponse response) abstract boolean
Version.validate
(UpgradeRequest request) -
Uses of UpgradeRequest in org.glassfish.tyrus.spi
Modifier and TypeMethodDescriptionClientEngine.createUpgradeRequest
(ClientEngine.TimeoutHandler timeoutHandler) Create upgrade request and registerClientEngine.TimeoutHandler
.Modifier and TypeMethodDescriptionvoid
TyrusClientEndpointConfigurator.beforeRequest
(UpgradeRequest upgradeRequest) This method is called by the implementation after it has formulated the handshake request that will be used to initiate the connection to the server, but beforeClientEndpointConfig.Configurator.beforeRequest(Map)
is invoked.WebSocketEngine.upgrade
(UpgradeRequest request, UpgradeResponse response) A transport calls this method to upgrade a HTTP request.