DeploymentException thrown from WebSocketContainer.connectToServer(...) when HTTP response status code 503 - Service Unavailable is
received.
ClientManager.ReconnectHandler , ClientProperties#RETRY_AFTER_SERVICE_UNAVAILABLE
| Access | Constructor and Description |
|---|---|
| public | RetryAfterException(String
the detail message. The detail message is saved for later retrieval by the message, Long getMessage()
method.a delay to the time received handshake response in header. delay)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public Long | Returns: a delay in seconds ornull when response does not contain Retry-After or
the value cannot be parsed as long ot http-date.Get a delay specified in Retry-After response header in seconds. |
| delay | back to summary |
|---|---|
| private final Long delay | |
| RetryAfterException | back to summary |
|---|---|
| public RetryAfterException(String message, Long delay) Constructor.
| |
| getDelay | back to summary |
|---|---|
| public Long getDelay() Get a delay specified in Retry-After response header in seconds.
| |