com.suyeer.basic.util.ConstUtil Maven / Gradle / Ivy
package com.suyeer.basic.util;
/**
* @author jun 2018/10/19
*/
public class ConstUtil {
public static final String DEFAULT_ENCODE = "UTF-8";
public static final String FILE = "file";
public static final String CONTENT_TYPE_APPLICATION_JSON = "application/json";
public static final String CONTENT_TYPE_DEFAULT = "application/x-www-form-urlencoded";
public static final String SESSION_CURRENT_LOGIN_USER_INFO = "SESSION_CURRENT_LOGIN_USER_INFO";
public static final String SESSION_CURRENT_WX_LOGIN_USER_INFO = "SESSION_CURRENT_WX_LOGIN_USER_INFO";
public static final String SESSION_CURRENT_WX_ORIGINAL_QUERY_URI_INFO = "SESSION_CURRENT_WX_ORIGINAL_QUERY_URI_INFO";
public static final String SESSION_RSA_KEY_IN_BASIC = "SESSION_RSA_KEY_IN_BASIC";
public static final String USER_AGENT = "User-Agent";
public static final String ALLOW_ORIGIN = "Access-Control-Allow-Origin";
public static final String ALLOW_ALL_ORIGIN = "*";
public static final String POST = "POST";
public static final String GET = "GET";
public static final String KEY_ALGORITHM = "RSA";
public static final Integer DEFAULT_LENGTH = 1024;
}