| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
ALIASES_PATH |
"aliases.path" |
public static final String |
APNS_PRODUCTION |
"apns.production" |
public static final String |
CONNECTION_TIMEOUT |
"connection.timeout" |
public static final int |
DEFAULT_APNS_PRODUCTION |
-1 |
public static final int |
DEFAULT_CONNECTION_TIMEOUT |
5000 |
public static final int |
DEFAULT_READ_TIMEOUT |
30000 |
public static final String |
DEFAULT_SSL_VERSION |
"TLS" |
public static final long |
DEFAULT_TIME_TO_LIVE |
-1L |
public static final int |
DEFULT_MAX_RETRY_TIMES |
3 |
public static final String |
DEVICE_HOST_NAME |
"device.host.name" |
public static final String |
DEVICES_PATH |
"devices.path" |
public static final String |
MAX_RETRY_TIMES |
"max.retry.times" |
public static final String |
PUSH_HOST_NAME |
"push.host.name" |
public static final String |
PUSH_PATH |
"push.path" |
public static final String |
PUSH_VALIDATE_PATH |
"push.validate.path" |
public static final String |
READ_TIMEOUT |
"read.timeout" |
public static final String |
REPORT_HOST_NAME |
"report.host.name" |
public static final String |
REPORT_MESSAGE_PATH |
"report.message.path" |
public static final String |
REPORT_RECEIVE_PATH |
"report.receive.path" |
public static final String |
REPORT_USER_PATH |
"report.user.path" |
public static final String |
SCHEDULE_HOST_NAME |
"schedule.host.name" |
public static final String |
SCHEDULE_PATH |
"schedule.path" |
public static final String |
SSL_VERSION |
"ssl.version" |
public static final String |
TAGS_PATH |
"tags.path" |
public static final String |
TIME_TO_LIVE |
"time.to.live" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
CHARSET |
"UTF-8" |
public static final String |
CONNECT_TIMED_OUT_MESSAGE |
"connect timed out. \nConnect to JPush Server timed out, and already retried some times. \nPlease ensure your internet connection is ok. \nIf the problem persists, please let us know at support@jpush.cn." |
public static final String |
CONTENT_TYPE_FORM |
"application/x-www-form-urlencoded" |
public static final String |
CONTENT_TYPE_JSON |
"application/json" |
public static final int |
DEFAULT_CONNECTION_TIMEOUT |
5000 |
public static final int |
DEFAULT_MAX_RETRY_TIMES |
3 |
public static final int |
DEFAULT_READ_TIMEOUT |
30000 |
public static final String |
IO_ERROR_MESSAGE |
"Connection IO error. \nCan not connect to JPush Server. Please ensure your internet connection is ok. \nIf the problem persists, please let us know at support@jpush.cn." |
public static final String |
JPUSH_USER_AGENT |
"JPush-API-Java-Client" |
public static final String |
RATE_LIMIT_QUOTA |
"X-Rate-Limit-Limit" |
public static final String |
RATE_LIMIT_Remaining |
"X-Rate-Limit-Remaining" |
public static final String |
RATE_LIMIT_Reset |
"X-Rate-Limit-Reset" |
public static final String |
READ_TIMED_OUT_MESSAGE |
"Read timed out. \nRead response from JPush Server timed out. \nIf this is a Push action, you may not want to retry. \nIt may be due to slowly response from JPush server, or unstable connection. \nIf the problem persists, please let us know at support@jpush.cn." |
public static final int |
RESPONSE_OK |
200 |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final int |
ERROR_CODE_NONE |
-1 |
public static final int |
ERROR_CODE_OK |
0 |
public static final String |
ERROR_MESSAGE_NONE |
"None error message." |
protected static final int |
RESPONSE_OK |
200 |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
NOTIFICATION_ANDROID |
"android" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
NOTIFICATION_IOS |
"ios" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
ALERT |
"alert" |
Copyright © 2016. All Rights Reserved.