private static enum AsynchronousBodyInputStream.Mode extends java.lang.Enum<AsynchronousBodyInputStream.Mode>
Enum Constant and Description |
---|
ASYNCHRONOUS |
SYNCHRONOUS |
UNDECIDED |
Modifier and Type | Method and Description |
---|---|
static AsynchronousBodyInputStream.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsynchronousBodyInputStream.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsynchronousBodyInputStream.Mode SYNCHRONOUS
public static final AsynchronousBodyInputStream.Mode ASYNCHRONOUS
public static final AsynchronousBodyInputStream.Mode UNDECIDED
public static AsynchronousBodyInputStream.Mode[] values()
for (AsynchronousBodyInputStream.Mode c : AsynchronousBodyInputStream.Mode.values()) System.out.println(c);
public static AsynchronousBodyInputStream.Mode 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 null