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 to a REST path relative to base URL.
|
| EncodedPath |
Named replacement in the URL path.
|
| EncodedQuery |
Encoded query parameter appended to the URL.
|
| EncodedQueryMap |
Query keys and values appended to the URL.
|
| 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 to a REST path relative to base URL.
|
| HEAD |
Make a HEAD request to a REST path relative to base URL.
|
| Header |
Replaces the header with the the value of its target.
|
| Headers |
Adds headers literally supplied in the
value. |
| Multipart |
Denotes that the request body is multi-part.
|
| 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 to a REST path relative to base URL.
|
| Path |
Named replacement in the URL path.
|
| POST |
Make a POST request to a REST path relative to base URL.
|
| PUT |
Make a PUT request to a REST path relative to base URL.
|
| Query |
Query parameter appended to the URL.
|
| QueryMap |
Query parameter keys and values appended to the URL.
|
| RestMethod | |
| Streaming |
Treat the response body on methods returning
Response as is,
i.e. |
Copyright © 2014 Square, Inc.. All Rights Reserved.