All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.easyopen.bean.Consts Maven / Gradle / Ivy

Go to download

easyopen mini版,保留基本签名校验,文档功能。https://gitee.com/durcframework/easyopen

There is a newer version: 1.0.4
Show newest version
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_";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy