Uses of Class
org.glassfish.tyrus.core.HandshakeException
-
Packages that use HandshakeException Package Description org.glassfish.tyrus.client Common Client.org.glassfish.tyrus.client.auth org.glassfish.tyrus.core Core classes. -
-
Uses of HandshakeException in org.glassfish.tyrus.client
Subclasses of HandshakeException in org.glassfish.tyrus.client Modifier and Type Class Description class
RedirectException
This exception is set as a cause ofDeploymentException
thrown fromWebSocketContainer
.connectToServer(...) when any of the Redirect HTTP response status codes (300, 301, 302, 303, 307, 308) is received as a handshake response and:ClientProperties.REDIRECT_ENABLED
is not enabled or the chained redirection count exceeds the value ofClientProperties.REDIRECT_THRESHOLD
or Infinite redirection loop is detected or "Location" response header is missing, empty or does not contain a validURI
.class
RetryAfterException
This exception is set as a cause ofDeploymentException
thrown fromWebSocketContainer
.connectToServer(...) when HTTP response status code503 - Service Unavailable
is received. -
Uses of HandshakeException in org.glassfish.tyrus.client.auth
Subclasses of HandshakeException in org.glassfish.tyrus.client.auth Modifier and Type Class Description class
AuthenticationException
This exception is set as a cause ofDeploymentException
thrown whenWebSocketContainer
.connectToServer(...) fails because of any of the following: HTTP response status code 401 is received and ""WWW-Authenticate"" header contains scheme which is not handled by anyAuthenticator
registered inAuthConfig
. -
Uses of HandshakeException in org.glassfish.tyrus.core
Methods in org.glassfish.tyrus.core that throw HandshakeException Modifier and Type Method Description Handshake
ProtocolHandler. handshake(TyrusEndpointWrapper endpointWrapper, UpgradeRequest request, UpgradeResponse response, ExtendedExtension.ExtensionContext extensionContext)
Server side handshake processing.void
Handshake. validateServerResponse(UpgradeResponse response)
Client side only - validate server response.
-