cn.jpush.api.common.connection
接口 IHttpClient
- 所有已知实现类:
- NativeHttpClient
public interface IHttpClient
CHARSET
static final String CHARSET
- 另请参见:
- 常量字段值
CONTENT_TYPE_JSON
static final String CONTENT_TYPE_JSON
- 另请参见:
- 常量字段值
CONTENT_TYPE_FORM
static final String CONTENT_TYPE_FORM
- 另请参见:
- 常量字段值
RATE_LIMIT_QUOTA
static final String RATE_LIMIT_QUOTA
- 另请参见:
- 常量字段值
RATE_LIMIT_Remaining
static final String RATE_LIMIT_Remaining
- 另请参见:
- 常量字段值
RATE_LIMIT_Reset
static final String RATE_LIMIT_Reset
- 另请参见:
- 常量字段值
JPUSH_USER_AGENT
static final String JPUSH_USER_AGENT
- 另请参见:
- 常量字段值
RESPONSE_OK
static final int RESPONSE_OK
- 另请参见:
- 常量字段值
IO_ERROR_MESSAGE
static final String IO_ERROR_MESSAGE
- 另请参见:
- 常量字段值
CONNECT_TIMED_OUT_MESSAGE
static final String CONNECT_TIMED_OUT_MESSAGE
- 另请参见:
- 常量字段值
READ_TIMED_OUT_MESSAGE
static final String READ_TIMED_OUT_MESSAGE
- 另请参见:
- 常量字段值
_gson
static final com.google.gson.Gson _gson
DEFAULT_CONNECTION_TIMEOUT
static final int DEFAULT_CONNECTION_TIMEOUT
- 另请参见:
- 常量字段值
DEFAULT_READ_TIMEOUT
static final int DEFAULT_READ_TIMEOUT
- 另请参见:
- 常量字段值
DEFAULT_MAX_RETRY_TIMES
static final int DEFAULT_MAX_RETRY_TIMES
- 另请参见:
- 常量字段值
sendGet
ResponseWrapper sendGet(String url)
throws APIConnectionException,
APIRequestException
- 抛出:
APIConnectionException
APIRequestException
sendDelete
ResponseWrapper sendDelete(String url)
throws APIConnectionException,
APIRequestException
- 抛出:
APIConnectionException
APIRequestException
sendPost
ResponseWrapper sendPost(String url,
String content)
throws APIConnectionException,
APIRequestException
- 抛出:
APIConnectionException
APIRequestException
Copyright © 2014. All Rights Reserved.