public final class Constant extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static Duration |
DEFAULT_KEEPALIVE_DURATION |
static Duration |
DEFAULT_KEEPALIVE_PING_INTERVAL |
static int |
DEFAULT_MAX_IDLE_CONNECTIONS |
static int |
HTTP_STATUS_NOT_FOUND |
static int |
HTTP_STATUS_OK |
static String |
METRICS_KEY_COMMON_ERROR |
static String |
METRICS_KEY_COMMON_INFO |
static String |
METRICS_KEY_COMMON_WARN |
static String |
METRICS_KEY_HEARTBEAT_COUNT |
static String |
METRICS_KEY_NETWORK_CALL_FAIL |
static String |
METRICS_KEY_NETWORK_CONNECT_FAIL |
static String |
METRICS_KEY_NETWORK_CONNECT_START |
static String |
METRICS_KEY_NETWORK_DNS_START |
static String |
METRICS_KEY_NETWORK_SECURE_CONNECT_START |
static String |
METRICS_KEY_REQUEST_COST |
static String |
METRICS_KEY_REQUEST_COUNT |
static String |
METRICS_KEY_REQUEST_TOTAL_COST |
static int |
STATUS_CODE_IDEMPOTENT |
static int |
STATUS_CODE_OPERATION_LOSS |
static int |
STATUS_CODE_SUCCESS
All requests will have a XXXResponse corresponding to them,
and all XXXResponses will contain a 'Status' field.
|
static int |
STATUS_CODE_TOO_MANY_REQUEST |
| 构造器和说明 |
|---|
Constant() |
public static final int HTTP_STATUS_OK
public static final int HTTP_STATUS_NOT_FOUND
public static final int STATUS_CODE_SUCCESS
public static final int STATUS_CODE_IDEMPOTENT
public static final int STATUS_CODE_OPERATION_LOSS
public static final int STATUS_CODE_TOO_MANY_REQUEST
public static final Duration DEFAULT_KEEPALIVE_DURATION
public static final Duration DEFAULT_KEEPALIVE_PING_INTERVAL
public static final int DEFAULT_MAX_IDLE_CONNECTIONS
public static final String METRICS_KEY_REQUEST_TOTAL_COST
public static final String METRICS_KEY_NETWORK_CONNECT_START
public static final String METRICS_KEY_NETWORK_SECURE_CONNECT_START
public static final String METRICS_KEY_NETWORK_CONNECT_FAIL
Copyright © 2023. All rights reserved.