| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer | |
| private final byte[] | |
| private final String | |
| private final HttpMethod. | |
| public static final HttpMethod | |
| public static final int | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final Index | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final int | |
| public static final HttpMethod | |
| public static final int | |
| public static final Index | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final Index | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final int | |
| public static final HttpMethod | |
| public static final int | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final int | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod | |
| public static final HttpMethod |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public String | |
| public static HttpMethod | Returns: the HttpMethod or null if the parameter method is unknownthe String to get the equivalent HttpMethod from method)Converts the given String parameter to an HttpMethod. |
| public byte[] | |
| public boolean | |
| public boolean | Returns: true if the method is idempotent.An idempotent HTTP method is an HTTP method that can be called many times without different outcomes. |
| public boolean | Returns: if the method is safe.An HTTP method is safe if it doesn't alter the state of the server. |
| public static HttpMethod | Returns: An HttpMethod if a match or null if no easy match.buffer containing ISO-8859-1 characters, it is not modified. buffer)Optimized lookup to find a method name and trailing space in a byte array. |
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static HttpMethod | |
| public static HttpMethod[] |
| _buffer | back to summary |
|---|---|
| private final ByteBuffer _buffer | |
| _bytes | back to summary |
|---|---|
| private final byte[] _bytes | |
| _method | back to summary |
|---|---|
| private final String _method | |
| _type | back to summary |
|---|---|
| private final HttpMethod. | |
| ACL | back to summary |
|---|---|
| public static final HttpMethod ACL | |
| ACL_AS_INT | back to summary |
|---|---|
| public static final int ACL_AS_INT | |
| BASELINE_CONTROL | back to summary |
|---|---|
| public static final HttpMethod BASELINE_CONTROL | |
| BIND | back to summary |
|---|---|
| public static final HttpMethod BIND | |
| CACHE | back to summary |
|---|---|
| public static final Index<HttpMethod> CACHE | |
| CHECKIN | back to summary |
|---|---|
| public static final HttpMethod CHECKIN | |
| CHECKOUT | back to summary |
|---|---|
| public static final HttpMethod CHECKOUT | |
| CONNECT | back to summary |
|---|---|
| public static final HttpMethod CONNECT | |
| COPY | back to summary |
|---|---|
| public static final HttpMethod COPY | |
| DELETE | back to summary |
|---|---|
| public static final HttpMethod DELETE | |
| GET | back to summary |
|---|---|
| public static final HttpMethod GET | |
| GET_AS_INT | back to summary |
|---|---|
| public static final int GET_AS_INT | |
| HEAD | back to summary |
|---|---|
| public static final HttpMethod HEAD | |
| HEAD_AS_INT | back to summary |
|---|---|
| public static final int HEAD_AS_INT | |
| INSENSITIVE_CACHE | back to summary |
|---|---|
| public static final Index<HttpMethod> INSENSITIVE_CACHE | |
| LABEL | back to summary |
|---|---|
| public static final HttpMethod LABEL | |
| LINK | back to summary |
|---|---|
| public static final HttpMethod LINK | |
| LOCK | back to summary |
|---|---|
| public static final HttpMethod LOCK | |
| LOOK_AHEAD | back to summary |
|---|---|
| public static final Index<HttpMethod> LOOK_AHEAD | |
| MERGE | back to summary |
|---|---|
| public static final HttpMethod MERGE | |
| MKACTIVITY | back to summary |
|---|---|
| public static final HttpMethod MKACTIVITY | |
| MKCALENDAR | back to summary |
|---|---|
| public static final HttpMethod MKCALENDAR | |
| MKCOL | back to summary |
|---|---|
| public static final HttpMethod MKCOL | |
| MKREDIRECTREF | back to summary |
|---|---|
| public static final HttpMethod MKREDIRECTREF | |
| MKWORKSPACE | back to summary |
|---|---|
| public static final HttpMethod MKWORKSPACE | |
| MOVE | back to summary |
|---|---|
| public static final HttpMethod MOVE | |
| OPTIONS | back to summary |
|---|---|
| public static final HttpMethod OPTIONS | |
| ORDERPATCH | back to summary |
|---|---|
| public static final HttpMethod ORDERPATCH | |
| PATCH | back to summary |
|---|---|
| public static final HttpMethod PATCH | |
| POST | back to summary |
|---|---|
| public static final HttpMethod POST | |
| POST_AS_INT | back to summary |
|---|---|
| public static final int POST_AS_INT | |
| PRI | back to summary |
|---|---|
| public static final HttpMethod PRI | |
| PRI_AS_INT | back to summary |
|---|---|
| public static final int PRI_AS_INT | |
| PROPFIND | back to summary |
|---|---|
| public static final HttpMethod PROPFIND | |
| PROPPATCH | back to summary |
|---|---|
| public static final HttpMethod PROPPATCH | |
| PROXY | back to summary |
|---|---|
| public static final HttpMethod PROXY | |
| PUT | back to summary |
|---|---|
| public static final HttpMethod PUT | |
| PUT_AS_INT | back to summary |
|---|---|
| public static final int PUT_AS_INT | |
| REBIND | back to summary |
|---|---|
| public static final HttpMethod REBIND | |
| REPORT | back to summary |
|---|---|
| public static final HttpMethod REPORT | |
| SEARCH | back to summary |
|---|---|
| public static final HttpMethod SEARCH | |
| TRACE | back to summary |
|---|---|
| public static final HttpMethod TRACE | |
| UNBIND | back to summary |
|---|---|
| public static final HttpMethod UNBIND | |
| UNCHECKOUT | back to summary |
|---|---|
| public static final HttpMethod UNCHECKOUT | |
| UNLINK | back to summary |
|---|---|
| public static final HttpMethod UNLINK | |
| UNLOCK | back to summary |
|---|---|
| public static final HttpMethod UNLOCK | |
| UPDATE | back to summary |
|---|---|
| public static final HttpMethod UPDATE | |
| UPDATEREDIRECTREF | back to summary |
|---|---|
| public static final HttpMethod UPDATEREDIRECTREF | |
| VERSION_CONTROL | back to summary |
|---|---|
| public static final HttpMethod VERSION_CONTROL | |
| HttpMethod | back to summary |
|---|---|
| private HttpMethod(HttpMethod. | |
| asBuffer | back to summary |
|---|---|
| public ByteBuffer asBuffer() | |
| asString | back to summary |
|---|---|
| public String asString() | |
| fromString | back to summary |
|---|---|
| public static HttpMethod fromString(String method) Converts the given String parameter to an HttpMethod. The string may differ from the Enum name as a '-' in the method name is represented as a '_' in the Enum name.
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() | |
| is | back to summary |
|---|---|
| public boolean is(String s) | |
| isIdempotent | back to summary |
|---|---|
| public boolean isIdempotent() An idempotent HTTP method is an HTTP method that can be called many times without different outcomes. It would not matter if the method is called only once, or ten times over. The result should be the same.
| |
| isSafe | back to summary |
|---|---|
| public boolean isSafe() An HTTP method is safe if it doesn't alter the state of the server. In other words, a method is safe if it leads to a read-only operation. Several common HTTP methods are safe: GET , HEAD , or OPTIONS . All safe methods are also idempotent, but not all idempotent methods are safe
| |
| lookAheadGet | back to summary |
|---|---|
| public static HttpMethod lookAheadGet(ByteBuffer buffer) Optimized lookup to find a method name and trailing space in a byte array.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.
| |
| valueOf | back to summary |
|---|---|
| public static HttpMethod valueOf(String name) | |
| values | back to summary |
|---|---|
| public static HttpMethod[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpMethod. | |
| public static final HttpMethod. | |
| public static final HttpMethod. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static HttpMethod. | |
| public static HttpMethod. |
| IDEMPOTENT | back to summary |
|---|---|
| public static final HttpMethod. | |
| NORMAL | back to summary |
|---|---|
| public static final HttpMethod. | |
| SAFE | back to summary |
|---|---|
| public static final HttpMethod. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static HttpMethod. | |
| values | back to summary |
|---|---|
| public static HttpMethod. | |