Skip navigation links
A B C D E F G H I M N O P Q R S T U V 

A

adapt(Call<R>) - Method in interface retrofit.CallAdapter
Returns an instance of the T which adapts the execution of call.
addCallAdapterFactory(CallAdapter.Factory) - Method in class retrofit.Retrofit.Builder
TODO
addConverterFactory(Converter.Factory) - Method in class retrofit.Retrofit.Builder
Add converter factory for serialization and deserialization of objects.

B

BaseUrl - Interface in retrofit
The base URL of the remote service.
baseUrl() - Method in class retrofit.Retrofit
 
baseUrl(String) - Method in class retrofit.Retrofit.Builder
API base URL.
baseUrl(HttpUrl) - Method in class retrofit.Retrofit.Builder
API base URL.
baseUrl(BaseUrl) - Method in class retrofit.Retrofit.Builder
API base URL.
Body - Annotation Type in retrofit.http
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).
body() - Method in class retrofit.Response
The deserialized response body of a successful response.
build() - Method in class retrofit.Retrofit.Builder
Create the Retrofit instances.
Builder() - Constructor for class retrofit.Retrofit.Builder
 

C

Call<T> - Interface in retrofit
An invocation of a Retrofit method that sends a request to a webserver and returns a response.
CallAdapter<T> - Interface in retrofit
Adapts a Call into the type of T.
callAdapter(Type, Annotation[]) - Method in class retrofit.Retrofit
Returns the CallAdapter for returnType from the available factories.
CallAdapter.Factory - Interface in retrofit
 
callAdapterFactories() - Method in class retrofit.Retrofit
 
Callback<T> - Interface in retrofit
Communicates responses from a server or offline requests.
callbackExecutor(Executor) - Method in class retrofit.Retrofit.Builder
The executor on which Callback methods are invoked when returning Call from your service method.
callbackExecutor() - Method in class retrofit.Retrofit
 
cancel() - Method in interface retrofit.Call
 
client(OkHttpClient) - Method in class retrofit.Retrofit.Builder
The HTTP client used for requests.
client() - Method in class retrofit.Retrofit
 
clone() - Method in interface retrofit.Call
 
code() - Method in class retrofit.Response
HTTP status code.
convert(F) - Method in interface retrofit.Converter
 
Converter<F,T> - Interface in retrofit
Convert objects to and from their representation as HTTP bodies.
Converter.Factory - Class in retrofit
 
converterFactories() - Method in class retrofit.Retrofit
TODO
create(Class<T>) - Method in class retrofit.Retrofit
Create an implementation of the API defined by the service interface.

D

DELETE - Annotation Type in retrofit.http
Make a DELETE request to a REST path relative to base URL.

E

enqueue(Callback<T>) - Method in interface retrofit.Call
 
error(int, ResponseBody) - Static method in class retrofit.Response
TODO
error(ResponseBody, Response) - Static method in class retrofit.Response
TODO
errorBody() - Method in class retrofit.Response
The raw response body of an unsuccessful response.
execute() - Method in interface retrofit.Call
 

F

Factory() - Constructor for class retrofit.Converter.Factory
 
Field - Annotation Type in retrofit.http
Named pair for a form-encoded request.
FieldMap - Annotation Type in retrofit.http
Named key/value pairs for a form-encoded request.
FormUrlEncoded - Annotation Type in retrofit.http
Denotes that the request body will use form URL encoding.
fromResponseBody(Type, Annotation[]) - Method in class retrofit.Converter.Factory
Create a Converter for converting an HTTP response body to type or null if it cannot be handled by this factory.

G

get(Type, Annotation[], Retrofit) - Method in interface retrofit.CallAdapter.Factory
Returns a call adapter for interface methods that return returnType, or null if this factory doesn't adapt that type.
GET - Annotation Type in retrofit.http
Make a GET request to a REST path relative to base URL.

H

HEAD - Annotation Type in retrofit.http
Make a HEAD request to a REST path relative to base URL.
Header - Annotation Type in retrofit.http
Replaces the header with the the value of its target.
Headers - Annotation Type in retrofit.http
Adds headers literally supplied in the value.
headers() - Method in class retrofit.Response
 
HTTP - Annotation Type in retrofit.http
 

I

isSuccess() - Method in class retrofit.Response
true if Response.code() is in the range [200..300).

M

message() - Method in class retrofit.Response
HTTP status message.
Multipart - Annotation Type in retrofit.http
Denotes that the request body is multi-part.

N

nextCallAdapter(CallAdapter.Factory, Type, Annotation[]) - Method in class retrofit.Retrofit
Returns the CallAdapter for returnType from the available factories except skipPast.

O

onFailure(Throwable) - Method in interface retrofit.Callback
Invoked when a network or unexpected exception occurred during the HTTP request.
onResponse(Response<T>, Retrofit) - Method in interface retrofit.Callback
Successful HTTP response.

P

Part - Annotation Type in retrofit.http
Denotes a single part of a multi-part request.
PartMap - Annotation Type in retrofit.http
Denotes name and value parts of a multi-part request
PATCH - Annotation Type in retrofit.http
Make a PATCH request to a REST path relative to base URL.
Path - Annotation Type in retrofit.http
Named replacement in the URL path.
POST - Annotation Type in retrofit.http
Make a POST request to a REST path relative to base URL.
PUT - Annotation Type in retrofit.http
Make a PUT request to a REST path relative to base URL.

Q

Query - Annotation Type in retrofit.http
Query parameter appended to the URL.
QueryMap - Annotation Type in retrofit.http
Query parameter keys and values appended to the URL.

R

raw() - Method in class retrofit.Response
The raw response from the HTTP client.
requestConverter(Type, Annotation[]) - Method in class retrofit.Retrofit
Returns a Converter for type to RequestBody from the available factories.
Response<T> - Class in retrofit
TODO
responseConverter(Type, Annotation[]) - Method in class retrofit.Retrofit
Returns a Converter for ResponseBody to type from the available factories.
responseType() - Method in interface retrofit.CallAdapter
Returns the value type that this adapter uses when converting the HTTP response body to a Java object.
retrofit - package retrofit
Retrofit turns your REST API into a Java interface.
Retrofit - Class in retrofit
Adapts a Java interface to a REST API.
Retrofit.Builder - Class in retrofit
Build a new Retrofit.
retrofit.http - package retrofit.http
Annotations for interface methods to control the HTTP request behavior.

S

Streaming - Annotation Type in retrofit.http
Treat the response body on methods returning Response as is, i.e.
success(T) - Static method in class retrofit.Response
TODO
success(T, Response) - Static method in class retrofit.Response
TODO

T

toRequestBody(Type, Annotation[]) - Method in class retrofit.Converter.Factory
Create a Converter for converting type to an HTTP request body or null if it cannot be handled by this factory.

U

url() - Method in interface retrofit.BaseUrl
The base URL.
Url - Annotation Type in retrofit.http
Relative URL resolved against the base URL.

V

validateEagerly() - Method in class retrofit.Retrofit.Builder
When calling Retrofit.create(java.lang.Class<T>) on the resulting Retrofit instance, eagerly validate the configuration of all methods in the supplied interface.
A B C D E F G H I M N O P Q R S T U V 
Skip navigation links

Copyright © 2015 Square, Inc.. All Rights Reserved.