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 classRedirectExceptionThis exception is set as a cause ofDeploymentExceptionthrown 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_ENABLEDis not enabled or the chained redirection count exceeds the value ofClientProperties.REDIRECT_THRESHOLDor Infinite redirection loop is detected or "Location" response header is missing, empty or does not contain a validURI.classRetryAfterExceptionThis exception is set as a cause ofDeploymentExceptionthrown fromWebSocketContainer.connectToServer(...) when HTTP response status code503 - Service Unavailableis received. -
Uses of HandshakeException in org.glassfish.tyrus.client.auth
Subclasses of HandshakeException in org.glassfish.tyrus.client.auth Modifier and Type Class Description classAuthenticationExceptionThis exception is set as a cause ofDeploymentExceptionthrown 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 anyAuthenticatorregistered inAuthConfig. -
Uses of HandshakeException in org.glassfish.tyrus.core
Methods in org.glassfish.tyrus.core that throw HandshakeException Modifier and Type Method Description HandshakeProtocolHandler. handshake(TyrusEndpointWrapper endpointWrapper, UpgradeRequest request, UpgradeResponse response, ExtendedExtension.ExtensionContext extensionContext)Server side handshake processing.voidHandshake. validateServerResponse(UpgradeResponse response)Client side only - validate server response.
-