Uses of Class
org.glassfish.tyrus.spi.UpgradeRequest
-
Packages that use UpgradeRequest Package Description org.glassfish.tyrus.client Common Client.org.glassfish.tyrus.core Core classes.org.glassfish.tyrus.spi Tyrus SPI. -
-
Uses of UpgradeRequest in org.glassfish.tyrus.client
Methods in org.glassfish.tyrus.client that return UpgradeRequest Modifier and Type Method Description UpgradeRequest
TyrusClientEngine. createUpgradeRequest(ClientEngine.TimeoutHandler timeoutHandler)
-
Uses of UpgradeRequest in org.glassfish.tyrus.core
Subclasses of UpgradeRequest in org.glassfish.tyrus.core Modifier and Type Class Description class
RequestContext
Implementation of all possible request interfaces.Methods in org.glassfish.tyrus.core that return UpgradeRequest Modifier and Type Method Description UpgradeRequest
Handshake. prepareRequest()
Client side only - compose theUpgradeRequest
and store it for further use.Methods in org.glassfish.tyrus.core with parameters of type UpgradeRequest Modifier and Type Method Description Handshake
ProtocolHandler. handshake(TyrusEndpointWrapper endpointWrapper, UpgradeRequest request, UpgradeResponse response, ExtendedExtension.ExtensionContext extensionContext)
Server side handshake processing.void
TyrusWebSocket. onConnect(UpgradeRequest upgradeRequest, java.lang.String subProtocol, java.util.List<Extension> extensions, java.lang.String connectionId, DebugContext debugContext)
This callback will be invoked when the opening handshake between both endpoints has been completed.static java.lang.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.WebSocketEngine.UpgradeInfo
TyrusWebSocketEngine. upgrade(UpgradeRequest request, UpgradeResponse response)
abstract boolean
Version. validate(UpgradeRequest request)
-
Uses of UpgradeRequest in org.glassfish.tyrus.spi
Methods in org.glassfish.tyrus.spi that return UpgradeRequest Modifier and Type Method Description UpgradeRequest
ClientEngine. createUpgradeRequest(ClientEngine.TimeoutHandler timeoutHandler)
Create upgrade request and registerClientEngine.TimeoutHandler
.Methods in org.glassfish.tyrus.spi with parameters of type UpgradeRequest Modifier and Type Method Description void
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.UpgradeInfo
WebSocketEngine. upgrade(UpgradeRequest request, UpgradeResponse response)
A transport calls this method to upgrade a HTTP request.
-