DeploymentException thrown from WebSocketContainer.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
ClientProperties#REDIRECT_THRESHOLD
URI.
ClientProperties#REDIRECT_ENABLED, ClientProperties#REDIRECT_THRESHOLD
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | RedirectException(int
http status code to be set to response. httpStatusCode, String the detail message. The detail message is saved for later retrieval by the message)getMessage() method.Constructor. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| RedirectException | back to summary |
|---|---|
| public RedirectException(int httpStatusCode, String message) Constructor.
| |