restio_retrofit library

Classes

Api
Define an API.
AuthPart
BasicAuth
Annotate a method to add Basic Authentication literally with username and password.
BasicPassword
Annotate a parameter to replace the Basic authentication password with the value of its target.
BasicUsername
Annotate a parameter to replace the Basic authentication username with the value of its target.
BearerAuth
Annotate a method to add Bearer Authentication literally with token and prefix.
BearerPrefix
Annotate a parameter to replace the Bearer authentication prefix with the value of its target.
BearerToken
Annotate a parameter to replace the Bearer authentication token with the value of its target.
Body
Denotes that the parameter is a request body.
Delete
Make a DELETE request.
DigestAuth
Annotate a method to add Digest Authentication literally with username and password.
DigestPassword
Annotate a parameter to replace the Digest authentication password with the value of its target.
DigestUsername
Annotate a parameter to replace the Digest authentication username with the value of its target.
Extra
Annotate a parameter to pass the parameter value to Request's extra property.
Field
Annotate a parameter to add named pair for a form-encoded request. If name is null, the parameter name will be used. [...]
Form
Annotate a method to indicate that the request body will use form URL encoding. Fields could be declared as parameters and annotated with Field. [...]
Get
Make a GET request.
HawkAlgorithm
Annotate a parameter to replace the Hawk authentication algorithm with the value of its target.
HawkAuth
Annotate a method to add Hawk Authentication literally with key, id, algorithm and ext.
HawkExt
Annotate a parameter to replace the Hawk authentication ext with the value of its target.
HawkId
Annotate a parameter to replace the Hawk authentication id with the value of its target.
HawkKey
Annotate a parameter to replace the Hawk authentication key with the value of its target.
Make a HEAD request.
Annotate a parameter to replace the header name with the value of its target. If name is null, the parameter name will be used. [...]
Headers
Annotate a parameter to add headers specified.
Http2
Annotate a method to indicate that the request will use HTTP2.
Method
Use a custom HTTP verb for a request.
Multipart
Annotate a method to indicate that the request body is multi-part. Parts could be declared as parameters and annotated with Part. [...]
NotThrows
Annotate a method to indicate that one will not throws an HttpStatusException.
Options
Make an OPTIONS request.
Param
Part
Annotate a parameter to denote a single part of a multi-part request. The filename, contentType and charset properties is used only for File.
Patch
Make a PATCH request.
Path
Named replacement in a URL path segment.
Post
Make a POST request.
Put
Make a PUT request.
Queries
Annotate a parameter to append to the URL the queries specified.
Query
Query parameter appended to the URL. Annotate a parameter to replace the query name with the value of its target. If name is null, the parameter name will be used. [...]
Raw
Annotate a method to indicate that the response should not be decompressed.
Throws
Annotate a method to indicate that one may throws an HttpStatusException if response code between min and max.