public class Http extends Object
| Constructor and Description |
|---|
Http() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
extract(retrofit2.Call<T> call) |
static <T> void |
extractBasicResponse(retrofit2.Call<T> call,
Callback<T> callback) |
static <T> ConsulResponse<T> |
extractConsulResponse(retrofit2.Call<T> call) |
static <T> void |
extractConsulResponse(retrofit2.Call<T> call,
ConsulResponseCallback<T> callback) |
static void |
handle(retrofit2.Call<Void> call) |
public static <T> T extract(retrofit2.Call<T> call)
public static void handle(retrofit2.Call<Void> call)
public static <T> ConsulResponse<T> extractConsulResponse(retrofit2.Call<T> call)
public static <T> void extractConsulResponse(retrofit2.Call<T> call,
ConsulResponseCallback<T> callback)
public static <T> void extractBasicResponse(retrofit2.Call<T> call,
Callback<T> callback)
Copyright © 2016. All rights reserved.