|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HttpVerb>
org.apache.awf.web.http.protocol.HttpVerb
public enum HttpVerb
An Enumeration of all available HTTP verbs, as defined by Hypertext
Transfer Protocol -- HTTP/1.1 (RFC 2616).
| Enum Constant Summary | |
|---|---|
CONNECT
"This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel " (RFC 2616, 9.9) |
|
DELETE
"The DELETE method requests that the origin server delete the resource identified by the Request-URI. |
|
GET
"The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. |
|
HEAD
"The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. |
|
OPTIONS
"The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI. |
|
POST
"The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line. |
|
PUT
"The PUT method requests that the enclosed entity be stored under the supplied Request-URI. |
|
TRACE
"The TRACE method is used to invoke a remote, application-layer loop- back of the request message. |
|
| Method Summary | |
|---|---|
static HttpVerb |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HttpVerb[] |
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 HttpVerb OPTIONS
public static final HttpVerb GET
public static final HttpVerb HEAD
public static final HttpVerb POST
public static final HttpVerb PUT
public static final HttpVerb DELETE
public static final HttpVerb TRACE
public static final HttpVerb CONNECT
| Method Detail |
|---|
public static HttpVerb[] values()
for (HttpVerb c : HttpVerb.values()) System.out.println(c);
public static HttpVerb 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 | |||||||||