public enum AuthProtocolState extends Enum<AuthProtocolState>
| Enum Constant and Description |
|---|
CHALLENGED |
FAILURE |
HANDSHAKE |
SUCCESS |
UNCHALLENGED |
| Modifier and Type | Method and Description |
|---|---|
static AuthProtocolState |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static AuthProtocolState[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final AuthProtocolState UNCHALLENGED
public static final AuthProtocolState CHALLENGED
public static final AuthProtocolState HANDSHAKE
public static final AuthProtocolState FAILURE
public static final AuthProtocolState SUCCESS
public static AuthProtocolState[] values()
for (AuthProtocolState c : AuthProtocolState.values())
System.out.println(c);
public static AuthProtocolState valueOf(String name)
name - 要返回的枚举常数的名称。
IllegalArgumentException - 如果此枚举类型没有指定名称的常量
NullPointerException - 如果参数为空
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.