Serializable
, Comparable<HTTPRequest.Method>
public static enum HTTPRequest.Method extends Enum<HTTPRequest.Method>
Enum Constant | Description |
---|---|
DELETE |
HTTP DELETE.
|
GET |
HTTP GET.
|
POST |
HTTP POST.
|
PUT |
HTTP PUT.
|
Modifier and Type | Method | Description |
---|---|---|
static HTTPRequest.Method |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static HTTPRequest.Method[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPRequest.Method GET
public static final HTTPRequest.Method POST
public static final HTTPRequest.Method PUT
public static final HTTPRequest.Method DELETE
public static HTTPRequest.Method[] values()
for (HTTPRequest.Method c : HTTPRequest.Method.values()) System.out.println(c);
public static HTTPRequest.Method valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Connect2id Ltd.. All rights reserved.