@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface HttpMethod
HttpMethod
.GET
,
POST
,
PUT
,
DELETE
,
PATCH
,
HEAD
,
OPTIONS
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
DELETE
HTTP DELETE method.
|
static java.lang.String |
GET
HTTP GET method.
|
static java.lang.String |
HEAD
HTTP HEAD method.
|
static java.lang.String |
OPTIONS
HTTP OPTIONS method.
|
static java.lang.String |
PATCH
HTTP PATCH method.
|
static java.lang.String |
POST
HTTP POST method.
|
static java.lang.String |
PUT
HTTP PUT method.
|
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Specifies the name of a HTTP method.
|