See: Description
Annotation Type | Description |
---|---|
Body |
Use this annotation on a service method param when you want to directly control the request body
of a POST/PUT request (instead of sending in as request parameters or form-style request body).
|
DELETE |
Make a DELETE request.
|
Field |
Named pair for a form-encoded request.
|
FieldMap |
Named key/value pairs for a form-encoded request.
|
FormUrlEncoded |
Denotes that the request body will use form URL encoding.
|
GET |
Make a GET request.
|
HEAD |
Make a HEAD request.
|
Header |
Replaces the header with the value of its target.
|
HeaderMap |
Adds headers specified in the
Map or Headers . |
Headers |
Adds headers literally supplied in the
value . |
HTTP |
Use a custom HTTP verb for a request.
|
Multipart |
Denotes that the request body is multi-part.
|
OPTIONS |
Make an OPTIONS request.
|
Part |
Denotes a single part of a multi-part request.
|
PartMap |
Denotes name and value parts of a multi-part request.
|
PATCH |
Make a PATCH request.
|
Path |
Named replacement in a URL path segment.
|
POST |
Make a POST request.
|
PUT |
Make a PUT request.
|
Query |
Query parameter appended to the URL.
|
QueryMap |
Query parameter keys and values appended to the URL.
|
QueryName |
Query parameter appended to the URL that has no value.
|
Streaming |
Treat the response body on methods returning
ResponseBody as is, i.e. |
Tag |
Adds the argument instance as a request tag using the type as the key.
|
Url |
URL resolved against the base URL.
|