public class BaseClient
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.String |
_baseUrl |
protected com.google.gson.Gson |
_gson |
protected cn.jiguang.common.connection.IHttpClient |
_httpClient |
| 构造器和说明 |
|---|
BaseClient(java.lang.String appKey,
java.lang.String masterSecret,
cn.jiguang.common.connection.HttpProxy proxy,
JMessageConfig config)
Create a JMessage Base Client
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setHttpClient(cn.jiguang.common.connection.IHttpClient httpClient) |
protected cn.jiguang.common.connection.IHttpClient _httpClient
protected java.lang.String _baseUrl
protected com.google.gson.Gson _gson
public BaseClient(java.lang.String appKey,
java.lang.String masterSecret,
cn.jiguang.common.connection.HttpProxy proxy,
JMessageConfig config)
appKey - The KEY of one application on JPush.masterSecret - API access secret of the appKey.proxy - The proxy, if there is no proxy, should be null.config - The client configuration. Can use JMessageConfig.getInstance() as default.Copyright © 2017. All Rights Reserved.