public class RetryAfterException extends HandshakeException
DeploymentException thrown from WebSocketContainer.connectToServer(...) when HTTP response status code 503 - Service Unavailable is
 received.ClientManager.ReconnectHandler, 
ClientProperties.RETRY_AFTER_SERVICE_UNAVAILABLE, 
Serialized Form| Constructor and Description | 
|---|
| RetryAfterException(java.lang.String message,
                   java.lang.Long delay)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Long | getDelay()Get a delay specified in  response header in seconds. | 
getHttpStatusCodepublic RetryAfterException(java.lang.String message,
                           java.lang.Long delay)
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
                method.delay - a delay to the time received handshake response in  header.Copyright © 2012–2020 Oracle Corporation. All rights reserved.