public class HttpParser extends Object
| Constructor and Description |
|---|
HttpParser() |
| Modifier and Type | Method and Description |
|---|---|
static okhttp3.OkHttpClient.Builder |
getClient()
获取 OkHttpClient
|
static Datapoint |
getDataPoint(String product_key)
Deprecated.
|
static Datapoint |
getDataPoint(String product_key,
String appid) |
static Datapoint |
getDataPoint(String url,
String product_key,
String appid)
Deprecated.
|
static String |
getDataPointString(String product_key)
Deprecated.
|
static String |
getDataPointString(String product_key,
String appid) |
static String |
getDataPointString(String url,
String product_key,
String appid)
Deprecated.
|
static Datapoint |
getInnerDataPoint(String url,
String product_key,
String authId) |
static String |
getInnerDataPointString(String url,
String product_key,
String authId) |
static retrofit2.Retrofit |
newRetrofit()
获取Retrofit适配器。
|
public static retrofit2.Retrofit newRetrofit()
public static okhttp3.OkHttpClient.Builder getClient()
@Deprecated public static Datapoint getDataPoint(String url, String product_key, String appid)
url - product_key - @Deprecated public static Datapoint getDataPoint(String product_key)
product_key - public static Datapoint getDataPoint(String product_key, String appid)
product_key - appid - @Deprecated public static String getDataPointString(String url, String product_key, String appid)
url - product_key - @Deprecated public static String getDataPointString(String product_key)
product_key - public static String getDataPointString(String product_key, String appid)
product_key - appid - public static String getInnerDataPointString(String url, String product_key, String authId)
url - product_key - authId - Copyright © 2019. All rights reserved.