| 程序包 | 说明 |
|---|---|
| com.gettyio.expansion.handler.codec.http |
| 限定符和类型 | 字段和说明 |
|---|---|
static HttpMethod |
HttpMethod.CONNECT
This specification reserves the method name CONNECT for use with a proxy that can dynamically
switch to being a tunnel
|
static HttpMethod |
HttpMethod.DELETE
The DELETE method requests that the origin server delete the resource identified by the
Request-URI.
|
static HttpMethod |
HttpMethod.GET
The GET method means retrieve whatever information (in the form of an entity) is identified
by the Request-URI.
|
static HttpMethod |
HttpMethod.HEAD
The HEAD method is identical to GET except that the server MUST NOT return a message-body
in the response.
|
static HttpMethod |
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.
|
static HttpMethod |
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.
|
static HttpMethod |
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.
|
static HttpMethod |
HttpMethod.PUT
The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
|
static HttpMethod |
HttpMethod.TRACE
The TRACE method is used to invoke a remote, application-layer loop- back of the request
message.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMethod |
HttpRequest.getHttpMethod() |
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the
HttpMethod represented by the specified name. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
HttpMethod.compareTo(HttpMethod o) |
void |
HttpRequest.setHttpMethod(HttpMethod httpMethod) |
Copyright © 2021. All rights reserved.