public static enum ParseHttpRequest.Method extends java.lang.Enum<ParseHttpRequest.Method>
ParseHttpRequest method type.| Modifier and Type | Method and Description |
|---|---|
static ParseHttpRequest.Method |
fromString(java.lang.String string)
Creates a
Method from the given string. |
java.lang.String |
toString()
Returns a string value of this
Method. |
static ParseHttpRequest.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParseHttpRequest.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseHttpRequest.Method GET
public static final ParseHttpRequest.Method POST
public static final ParseHttpRequest.Method PUT
public static final ParseHttpRequest.Method DELETE
public static ParseHttpRequest.Method[] values()
for (ParseHttpRequest.Method c : ParseHttpRequest.Method.values()) System.out.println(c);
public static ParseHttpRequest.Method 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 static ParseHttpRequest.Method fromString(java.lang.String string)
Method from the given string. Valid stings are GET, POST,
PUT and DELETE.string - The string value of this Method.Method based on the given string.public java.lang.String toString()
Method.toString in class java.lang.Enum<ParseHttpRequest.Method>Method.