| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpMethod | CONNECT
This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel |
| public static final HttpMethod | DELETE
The DELETE method requests that the origin server delete the resource identified by the Request-URI. |
| public static final HttpMethod | GET
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. |
| public static final HttpMethod | HEAD
The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. |
| private static final HttpMethod. | |
| private final AsciiString | |
| public static final HttpMethod | OPTIONS
The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI. |
| public static final HttpMethod | PATCH
The PATCH method requests that a set of changes described in the request entity be applied to the resource identified by the Request-URI. |
| public static final HttpMethod | 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. |
| public static final HttpMethod | PUT
The PUT method requests that the enclosed entity be stored under the supplied Request-URI. |
| public static final HttpMethod | TRACE
The TRACE method is used to invoke a remote, application-layer loop- back of the request message. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AsciiString | |
| public int | compareTo(HttpMethod
the object to be compared. o)Implements java. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public String | |
| public String | |
| public static HttpMethod |
| CONNECT | back to summary |
|---|---|
| public static final HttpMethod CONNECT This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel | |
| DELETE | back to summary |
|---|---|
| public static final HttpMethod DELETE The DELETE method requests that the origin server delete the resource identified by the Request-URI. | |
| GET | back to summary |
|---|---|
| public static final HttpMethod GET The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. If the Request-URI refers to a data-producing process, it is the produced data which shall be returned as the entity in the response and not the source text of the process, unless that text happens to be the output of the process. | |
| HEAD | back to summary |
|---|---|
| public static final HttpMethod HEAD The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. | |
| methodMap | back to summary |
|---|---|
| private static final HttpMethod. | |
| name | back to summary |
|---|---|
| private final AsciiString name | |
| OPTIONS | back to summary |
|---|---|
| public static final HttpMethod OPTIONS The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI. This method allows the client to determine the options and/or requirements associated with a resource, or the capabilities of a server, without implying a resource action or initiating a resource retrieval. | |
| PATCH | back to summary |
|---|---|
| public static final HttpMethod PATCH The PATCH method requests that a set of changes described in the request entity be applied to the resource identified by the Request-URI. | |
| POST | back to summary |
|---|---|
| public static final HttpMethod 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 | back to summary |
|---|---|
| public static final HttpMethod PUT The PUT method requests that the enclosed entity be stored under the supplied Request-URI. | |
| TRACE | back to summary |
|---|---|
| public static final HttpMethod TRACE The TRACE method is used to invoke a remote, application-layer loop- back of the request message. | |
| HttpMethod | back to summary |
|---|---|
| public HttpMethod(String name) Creates a new HTTP method with the specified name. You will not need to create a new method unless you are implementing a protocol derived from HTTP, such as RTSP and ICAP | |
| asciiName | back to summary |
|---|---|
| public AsciiString asciiName() Returns the name of this method. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(HttpMethod o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| name | back to summary |
|---|---|
| public String name() Returns the name of this method. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| valueOf | back to summary |
|---|---|
| public static HttpMethod valueOf(String name) Returns the | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpMethod. | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv T | |
| private static int |
| values | back to summary |
|---|---|
| private final HttpMethod. | |
| valuesMask | back to summary |
|---|---|
| private final int valuesMask | |
| EnumNameMap | back to summary |
|---|---|
| pack-priv EnumNameMap(HttpMethod. | |
| get | back to summary |
|---|---|
| pack-priv T get(String name) | |
| hashCode | back to summary |
|---|---|
| private static int hashCode(String name) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final T |
| key | back to summary |
|---|---|
| pack-priv final String key | |
| value | back to summary |
|---|---|
| pack-priv final T value | |
| Node | back to summary |
|---|---|
| pack-priv Node(String key, T value) | |