public class ReactService
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
BASE_URL
The constant BASE_URL.
|
static okhttp3.OkHttpClient |
okHttpClient
The constant okHttpClient.
|
static retrofit2.Retrofit |
retrofit
The constant retrofit.
|
static java.lang.String |
TAG
The constant TAG.
|
构造器和说明 |
---|
ReactService()
Instantiates a new React service.
|
限定符和类型 | 方法和说明 |
---|---|
static retrofit2.Call<okhttp3.ResponseBody> |
downloadFile(java.lang.String url,
retrofit2.Callback<okhttp3.ResponseBody> callback)
Download file call.
|
public static final java.lang.String BASE_URL
public static okhttp3.OkHttpClient okHttpClient
public static retrofit2.Retrofit retrofit
public static final java.lang.String TAG