|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HttpMethod>
com.cloudcontrolled.api.common.HttpMethod
public enum HttpMethod
Enum which holds the HTTP method to use.
| Enum Constant Summary | |
|---|---|
CONNECT
HTTP CONNECT method descriptor. |
|
DELETE
HTTP DELETE method descriptor. |
|
GET
Http GET method descriptor. |
|
HEAD
HTTP HEAD method descriptor. |
|
OPTIONS
HTTP OPTIONS method descriptor. |
|
POST
HTTP POST method descriptor. |
|
PUT
HTTP PUT method descriptor. |
|
TRACE
HTTP TRACE method descriptor. |
|
| Method Summary | |
|---|---|
static HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final HttpMethod GET
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Getpublic static final HttpMethod POST
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Postpublic static final HttpMethod PUT
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Putpublic static final HttpMethod DELETE
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Deletepublic static final HttpMethod HEAD
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Headpublic static final HttpMethod TRACE
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Tracepublic static final HttpMethod CONNECT
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Connectpublic static final HttpMethod OPTIONS
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#Options| Method Detail |
|---|
public static HttpMethod[] values()
for (HttpMethod c : HttpMethod.values()) System.out.println(c);
public static HttpMethod valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||