org.sdn.api.constants.OpenApiConstants Maven / Gradle / Ivy
package org.sdn.api.constants;
public class OpenApiConstants {
private OpenApiConstants() {
}
public static final String SIGN = "gateway-sign";
public static final String SIGN_TYPE_MD5 = "md5";
public static final String METHOD = "gateway_method";
public static final String APP_ID = "appId";
public static final String CLIENT_SECRET = "appSecret";
public static final String ACCESS_TOKEN = "gateway-token";
public static final String CHARSET = "charset";
public static final String ENCRYPT_TYPE = "encrypt_type";
public static final String BIZ_CONTENT_KEY = "biz_content";
/** 默认时间格式 **/
public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
/** Date默认时区 **/
public static final String DATE_TIMEZONE = "GMT+8";
/** UTF-8字符集 **/
public static final String CHARSET_UTF8 = "UTF-8";
public static final String MODE = "sync";
public static final String REQUEST_METHOD = "post";
public static final String REQUEST_METHOD_GET = "get";
public static final String REQUEST_METHOD_PUT = "put";
public static final String EVENT_HEADER = "auth-event";
}