@Beta public class AuthenticationException extends HandshakeException
DeploymentException thrown when WebSocketContainer.connectToServer(...)
 fails because of any of the following:
 Authenticator registered in AuthConfig.
 AuthenticationException is thrown from Authenticator.generateAuthorizationHeader(URI, String,
 Credentials)
 method.
 ClientProperties.AUTH_CONFIG is not instance of AuthConfig.
 
 HandshakeException.getHttpStatusCode() returns always 401.
Authenticator.generateAuthorizationHeader(URI, String, Credentials), 
AuthConfig, 
Serialized Form| Constructor and Description | 
|---|
| AuthenticationException(java.lang.String message)Constructor. | 
getHttpStatusCodeCopyright © 2012–2020 Oracle Corporation. All rights reserved.