| Package | Description | 
|---|---|
| org.glassfish.tyrus.client | Common Client. | 
| org.glassfish.tyrus.client.auth | |
| org.glassfish.tyrus.client.exception | Common Client Exceptions | 
| org.glassfish.tyrus.core | Core classes. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | RedirectExceptionThis exception is set as a cause of  DeploymentExceptionthrown fromWebSocketContainer.connectToServer(...) | 
| class  | RetryAfterExceptionThis exception is set as a cause of  DeploymentExceptionthrown fromWebSocketContainer.connectToServer(...) when HTTP response status code503 - Service Unavailableis
 received. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AuthenticationExceptionThis exception is set as a cause of  DeploymentExceptionthrown whenWebSocketContainer.connectToServer(...) | 
| Constructor and Description | 
|---|
| DeploymentHandshakeException(java.lang.String message,
                            HandshakeException cause) | 
| Modifier and Type | Method and 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. | 
Copyright © 2012–2020 Oracle Corporation. All rights reserved.