Package | Description |
---|---|
retrofit |
Retrofit turns your REST API into a Java interface.
|
retrofit.appengine | |
retrofit.client |
Modifier and Type | Method and Description |
---|---|
Response |
RetrofitError.getResponse()
Response object containing status code, headers, body, etc.
|
Modifier and Type | Method and Description |
---|---|
static RetrofitError |
RetrofitError.conversionError(String url,
Response response,
Converter converter,
Type successType,
ConversionException exception) |
static RetrofitError |
RetrofitError.httpError(String url,
Response response,
Converter converter,
Type successType) |
abstract void |
ResponseCallback.success(Response response)
Successful HTTP response.
|
void |
ResponseCallback.success(Response response,
Response response2) |
void |
Callback.success(T t,
Response response)
Successful HTTP response.
|
Modifier and Type | Method and Description |
---|---|
Response |
UrlFetchClient.execute(Request request) |
Modifier and Type | Method and Description |
---|---|
Response |
UrlConnectionClient.execute(Request request) |
Response |
OkClient.execute(Request request) |
Response |
Client.execute(Request request)
Synchronously execute an HTTP represented by
request and encapsulate all response data
into a Response instance. |
Response |
ApacheClient.execute(Request request) |
Copyright © 2015 Square, Inc.. All Rights Reserved.