- get() - Method in interface retrofit.client.Client.Provider
-
Obtain an HTTP client.
- GET - Annotation Type in retrofit.http
-
Make a GET request to a REST path relative to base URL.
- getBaseUrl() - Method in class retrofit.Profiler.RequestInformation
-
Returns the URL to which the originating request was sent.
- getBody() - Method in class retrofit.client.Request
-
Returns the request body or null
.
- getBody() - Method in class retrofit.client.Response
-
Response body.
- getBody() - Method in exception retrofit.RetrofitError
-
HTTP response body converted to the type declared by either the interface method return type or
the generic type of the supplied
Callback
parameter.
- getBodyAs(Type) - Method in exception retrofit.RetrofitError
-
HTTP response body converted to specified type
.
- getBytes() - Method in class retrofit.mime.TypedByteArray
-
- getContentLength() - Method in class retrofit.Profiler.RequestInformation
-
Returns the number of bytes in the originating request.
- getContentType() - Method in class retrofit.Profiler.RequestInformation
-
Returns the content type header value of the originating request.
- getHeaders() - Method in class retrofit.client.Request
-
Returns an unmodifiable list of headers, never null
.
- getHeaders() - Method in class retrofit.client.Response
-
An unmodifiable collection of headers.
- getLogLevel() - Method in class retrofit.RestAdapter
-
The current logging level.
- getMethod() - Method in class retrofit.client.Request
-
HTTP method verb.
- getMethod() - Method in class retrofit.Profiler.RequestInformation
-
Returns the HTTP method of the originating request.
- getName() - Method in class retrofit.ChangeableServer
-
- getName() - Method in class retrofit.client.Header
-
- getName() - Method in class retrofit.Server
-
A name for differentiating between multiple API URLs.
- getPartCount() - Method in class retrofit.mime.MultipartTypedOutput
-
- getReason() - Method in class retrofit.client.Response
-
Status line reason phrase.
- getRelativePath() - Method in class retrofit.Profiler.RequestInformation
-
Returns the path relative to the base URL to which the originating request was sent.
- getResponse() - Method in exception retrofit.RetrofitError
-
Response object containing status code, headers, body, etc.
- getStatus() - Method in class retrofit.client.Response
-
Status line code.
- getUrl() - Method in class retrofit.ChangeableServer
-
- getUrl() - Method in class retrofit.client.Request
-
Target URL.
- getUrl() - Method in exception retrofit.RetrofitError
-
The request URL which produced the error.
- getUrl() - Method in class retrofit.Server
-
The base API URL.
- getValue() - Method in class retrofit.client.Header
-
- GsonConverter - Class in retrofit.converter
-
A
Converter
which uses GSON for serialization and deserialization of entities.
- GsonConverter(Gson) - Constructor for class retrofit.converter.GsonConverter
-
Create an instance using the supplied Gson
object for conversion.
- GsonConverter(Gson, String) - Constructor for class retrofit.converter.GsonConverter
-
Create an instance using the supplied Gson
object for conversion.