Package | Description |
---|---|
retrofit |
Retrofit turns your REST API into a Java interface.
|
Modifier and Type | Method and Description |
---|---|
static <T> Response<T> |
Response.error(int code,
com.squareup.okhttp.ResponseBody body)
TODO
|
static <T> Response<T> |
Response.error(com.squareup.okhttp.ResponseBody body,
com.squareup.okhttp.Response rawResponse)
TODO
|
Response<T> |
Call.execute() |
static <T> Response<T> |
Response.success(T body)
TODO
|
static <T> Response<T> |
Response.success(T body,
com.squareup.okhttp.Response rawResponse)
TODO
|
Modifier and Type | Method and Description |
---|---|
void |
Callback.onResponse(Response<T> response,
Retrofit retrofit)
Successful HTTP response.
|
Copyright © 2015 Square, Inc.. All Rights Reserved.