| Package | Description |
|---|---|
| retrofit |
Retrofit turns your REST API into a Java interface.
|
| Modifier and Type | Method and Description |
|---|---|
static RetrofitError |
RetrofitError.conversionError(java.lang.String url,
Response response,
Converter converter,
java.lang.reflect.Type successType,
ConversionException exception) |
static RetrofitError |
RetrofitError.httpError(java.lang.String url,
Response response,
Converter converter,
java.lang.reflect.Type successType) |
static RetrofitError |
RetrofitError.networkError(java.lang.String url,
java.io.IOException exception) |
static RetrofitError |
RetrofitError.unexpectedError(java.lang.String url,
java.lang.Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
void |
Callback.failure(RetrofitError error)
Unsuccessful HTTP response due to network failure, non-2XX status code, or unexpected
exception.
|
java.lang.Throwable |
ErrorHandler.handleError(RetrofitError cause)
Return a custom exception to be thrown for a
RetrofitError. |
Copyright © 2014 Square, Inc.. All Rights Reserved.