Uses of Class
org.glassfish.tyrus.spi.UpgradeResponse
-
Packages that use UpgradeResponse Package Description org.glassfish.tyrus.client Common Client.org.glassfish.tyrus.core Core classes.org.glassfish.tyrus.spi Tyrus SPI. -
-
Uses of UpgradeResponse in org.glassfish.tyrus.client
Methods in org.glassfish.tyrus.client with parameters of type UpgradeResponse Modifier and Type Method Description ClientEngine.ClientUpgradeInfo
TyrusClientEngine. processResponse(UpgradeResponse upgradeResponse, Writer writer, Connection.CloseListener closeListener)
-
Uses of UpgradeResponse in org.glassfish.tyrus.core
Subclasses of UpgradeResponse in org.glassfish.tyrus.core Modifier and Type Class Description class
TyrusUpgradeResponse
HTTP response representation.Methods in org.glassfish.tyrus.core with parameters of type UpgradeResponse Modifier and Type Method Description Handshake
ProtocolHandler. handshake(TyrusEndpointWrapper endpointWrapper, UpgradeRequest request, UpgradeResponse response, ExtendedExtension.ExtensionContext extensionContext)
Server side handshake processing.static java.lang.String
Utils. stringifyUpgradeResponse(UpgradeResponse upgradeResponse)
Converts upgrade response to a HTTP-formatted string.WebSocketEngine.UpgradeInfo
TyrusWebSocketEngine. upgrade(UpgradeRequest request, UpgradeResponse response)
void
Handshake. validateServerResponse(UpgradeResponse response)
Client side only - validate server response. -
Uses of UpgradeResponse in org.glassfish.tyrus.spi
Methods in org.glassfish.tyrus.spi with parameters of type UpgradeResponse Modifier and Type Method Description ClientEngine.ClientUpgradeInfo
ClientEngine. processResponse(UpgradeResponse upgradeResponse, Writer writer, Connection.CloseListener closeListener)
Process handshake and returnClientEngine.ClientUpgradeInfo
with handshake status (ClientEngine.ClientUpgradeStatus
).WebSocketEngine.UpgradeInfo
WebSocketEngine. upgrade(UpgradeRequest request, UpgradeResponse response)
A transport calls this method to upgrade a HTTP request.
-