Uses of Class
org.glassfish.tyrus.spi.UpgradeResponse
Package
Description
Common Client.
Core classes.
Tyrus SPI.
-
Uses of UpgradeResponse in org.glassfish.tyrus.client
Modifier and TypeMethodDescriptionTyrusClientEngine.processResponse
(UpgradeResponse upgradeResponse, Writer writer, Connection.CloseListener closeListener) -
Uses of UpgradeResponse in org.glassfish.tyrus.core
Modifier and TypeMethodDescriptionProtocolHandler.handshake
(TyrusEndpointWrapper endpointWrapper, UpgradeRequest request, UpgradeResponse response, ExtendedExtension.ExtensionContext extensionContext) Server side handshake processing.static String
Utils.stringifyUpgradeResponse
(UpgradeResponse upgradeResponse) Converts upgrade response to a HTTP-formatted string.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
Modifier and TypeMethodDescriptionClientEngine.processResponse
(UpgradeResponse upgradeResponse, Writer writer, Connection.CloseListener closeListener) Process handshake and returnClientEngine.ClientUpgradeInfo
with handshake status (ClientEngine.ClientUpgradeStatus
).WebSocketEngine.upgrade
(UpgradeRequest request, UpgradeResponse response) A transport calls this method to upgrade a HTTP request.