com.gitee.easyopen.bean.Consts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easyopen-mini Show documentation
Show all versions of easyopen-mini Show documentation
easyopen mini版,保留基本签名校验,文档功能。https://gitee.com/durcframework/easyopen
package com.gitee.easyopen.bean;
/**
* @author tanghc
*/
public class Consts {
public static final String NULL = "null";
public static final String RANDOM_KEY_NAME = "ssl_randomKey";
public static final String UTF8 = "UTF-8";
public static final String FORMAT_JSON = "json";
public static final String FORMAT_XML = "xml";
public static final String AUTHORIZATION = "Authorization";
public static final String PREFIX_BEARER = "Bearer ";
public static final String YMDHMS = "yyyy-MM-dd HH:mm:ss";
public static final String DEFAULT_SIGN_METHOD = "md5";
public static final String CONTENT_TYPE_NAME = "Content-Type";
public static final String CONTENT_TYPE_JSON = "application/json;charset=UTF-8";
public static final String LINE = "\n";
public static final String EMPTY_JSON = "{}";
public static final String SORT_DESC = "DESC";
public static final String REST_PARAM_NAME = "_REST_PARAM_NAME_";
public static final String REST_PARAM_VERSION = "_REST_PARAM_VERSION_";
}