public enum RequestMode extends java.lang.Enum<RequestMode>
Enum Constant and Description |
---|
CAPABILITIES |
DAP |
DMR |
DSR |
ERROR |
NONE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extension() |
java.lang.String |
id() |
static RequestMode |
idMode(java.lang.String id) |
static RequestMode |
modeFor(java.lang.String s) |
java.lang.String |
toString() |
static RequestMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestMode DMR
public static final RequestMode DAP
public static final RequestMode DSR
public static final RequestMode CAPABILITIES
public static final RequestMode ERROR
public static final RequestMode NONE
public static RequestMode[] values()
for (RequestMode c : RequestMode.values()) System.out.println(c);
public static RequestMode 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 nullpublic java.lang.String id()
public java.lang.String extension()
public static RequestMode modeFor(java.lang.String s)
public static RequestMode idMode(java.lang.String id)
public java.lang.String toString()
toString
in class java.lang.Enum<RequestMode>