public static enum Method.PayloadExpectation extends java.lang.Enum<Method.PayloadExpectation>
| Enum Constant and Description |
|---|
ALLOWED |
NOT_ALLOWED |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static Method.PayloadExpectation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Method.PayloadExpectation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Method.PayloadExpectation ALLOWED
public static final Method.PayloadExpectation NOT_ALLOWED
public static final Method.PayloadExpectation UNDEFINED
public static Method.PayloadExpectation[] values()
for (Method.PayloadExpectation c : Method.PayloadExpectation.values()) System.out.println(c);
public static Method.PayloadExpectation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014 Oracle Corporation. All Rights Reserved.