public enum ProtocolErrorType extends Enum<ProtocolErrorType>
| Enum Constant and Description |
|---|
AccessDenied |
InvalidClient |
InvalidGrant |
InvalidRequest |
InvalidScope |
ServerError |
TemporarilyUnavailable |
UnauthorizedClient |
UnsupportedGrantType |
UnsupportedResponseType |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static ProtocolErrorType |
parse(String type) |
String |
toString() |
static ProtocolErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolErrorType InvalidRequest
public static final ProtocolErrorType InvalidClient
public static final ProtocolErrorType InvalidGrant
public static final ProtocolErrorType UnauthorizedClient
public static final ProtocolErrorType UnsupportedGrantType
public static final ProtocolErrorType InvalidScope
public static final ProtocolErrorType AccessDenied
public static final ProtocolErrorType UnsupportedResponseType
public static final ProtocolErrorType ServerError
public static final ProtocolErrorType TemporarilyUnavailable
public static ProtocolErrorType[] values()
for (ProtocolErrorType c : ProtocolErrorType.values()) System.out.println(c);
public static ProtocolErrorType 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 String toString()
toString in class Enum<ProtocolErrorType>public String getType()
public static ProtocolErrorType parse(String type)
Copyright © 2017. All rights reserved.