| Package | Description |
|---|---|
| retrofit2 |
Retrofit turns your REST API into a Java interface.
|
| Modifier and Type | Method and Description |
|---|---|
Call<T> |
Call.clone()
Create a new, identical call to this one which can be enqueued or executed even if this call
has already been.
|
| Modifier and Type | Method and Description |
|---|---|
T |
CallAdapter.adapt(Call<R> call)
Returns an instance of
T which delegates to call. |
void |
Callback.onFailure(Call<T> call,
Throwable t)
Invoked when a network exception occurred talking to the server or when an unexpected
exception occurred creating the request or processing the response.
|
void |
Callback.onResponse(Call<T> call,
Response<T> response)
Invoked for a received HTTP response.
|
Copyright © 2020 Square, Inc.. All rights reserved.