public static enum AuthenticationService.ResponseCode extends Enum<AuthenticationService.ResponseCode>
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationService.ResponseCode |
getResponseCode(SASLResponse response)
Returns a matching ResponseCode enum, or throws a WSCException
if the status is null or not supported.
|
static AuthenticationService.ResponseCode |
getResponseCode(String codeValue)
Returns a matching ResponseCode enum, or throws a WSCException
if the codeValue is not supported.
|
static AuthenticationService.ResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationService.ResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationService.ResponseCode CONTINUE
public static final AuthenticationService.ResponseCode ABORT
public static final AuthenticationService.ResponseCode OK
public String codeValue
public static AuthenticationService.ResponseCode[] values()
for (AuthenticationService.ResponseCode c : AuthenticationService.ResponseCode.values()) System.out.println(c);
public static AuthenticationService.ResponseCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AuthenticationService.ResponseCode getResponseCode(SASLResponse response) throws WSCException
SASLResponse - WSCExceptionpublic static AuthenticationService.ResponseCode getResponseCode(String codeValue) throws WSCException
codeValue - WSCExceptionCopyright © 1999–2015. All rights reserved.