public static enum Method.MethodType extends java.lang.Enum<Method.MethodType>
Method types from RFC 5546
Enum Constant and Description |
---|
ADD |
CANCEL |
COUNTER |
DECLINECOUNTER |
PUBLISH |
REFRESH |
REPLY |
REQUEST |
Modifier and Type | Method and Description |
---|---|
static Method.MethodType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Method.MethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Method.MethodType PUBLISH
public static final Method.MethodType REQUEST
public static final Method.MethodType REPLY
public static final Method.MethodType ADD
public static final Method.MethodType CANCEL
public static final Method.MethodType REFRESH
public static final Method.MethodType COUNTER
public static final Method.MethodType DECLINECOUNTER
public static Method.MethodType[] values()
for (Method.MethodType c : Method.MethodType.values()) System.out.println(c);
public static Method.MethodType 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