com.kingsoft.services.HttpHeaders Maven / Gradle / Ivy
package com.kingsoft.services;
public class HttpHeaders {
public static final String AUTHORIZATION = "Authorization";
public static final String HOST = "Host";
public static final String CONTENT_TYPE = "Content-Type";
public static final String CONTENT_LENGTH = "Content-Length";
//public static final String KWS_TARGET = "X-Kws-Target";
//public static final String CRC32 = "X-Kws-Crc32";
//public static final String CHECK_SUM = "X-Kws-CheckSum";
//public static final String TIME_OUT_MS = "X-Kws-Timeout-Ms";
public static final String KOP_VERSION = "X-VERSION";
public static final String KOP_ACTION = "X-ACTION";
public static final String KOP_RESOURCE = "X-RESOURCE";
public static final String KOP_TABLENAME = "X-TABLENAME";
// 自定义HTTPHeader名字规范:前缀+标记
// 前缀 部分: X-Kws-
// 标记部分: 首字母大写的驼峰结构 标记。 以前的不改, 后续遵循此规范, eg:
public static final String APP_TIMEOUT = "X-Kws-Timeout";
public static final String REQUEST_DATE = "X-Kws-Date";
public static final String RESPONSE_CODE = "X-Kws-Code";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy