java.io.Serializable
, java.lang.Comparable<Request.Method>
public static enum Request.Method extends java.lang.Enum<Request.Method>
Modifier and Type | Method | Description |
---|---|---|
static Request.Method |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Request.Method[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.Method GET
public static final Request.Method POST
public static final Request.Method PUT
public static final Request.Method DELETE
public static final Request.Method HEAD
public static final Request.Method OPTION
public static Request.Method[] values()
for (Request.Method c : Request.Method.values()) System.out.println(c);
public static Request.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 nullCopyright © 2018. All rights reserved.