/**
* 类说明:HTTP响应头信息
*
* @author 作者: LiuJunGuang
* @version 创建时间:2011-10-29 上午09:11:08
*/
public interface ResponseConstant {
/**
* 指示新的资源的位置
*/
String LOCATION = "Location";
/**
* 指示服务器的类型
*/
String SERVER = "Server";
/**
* 服务器发送的数据采用的编码类型 ; 例如:gzip
*/
String CONTENT_ENCODING = "Content-Encoding";
/**
* 正文的长度
*/
String CONTENT_LENGTH = "Content-Length";
/**
* 服务发送的文本的语言; 例如:zh-cn
*/
String CONTENT_LANGUAGE = "Content-Language";
/**
* 服务器发送的内容的MIME类型 ; 例如:text/html; charset=GB2312
*/
String CONTENT_TYPE = "Content-Type";
/**
* 文件的最后修改时间
*/
String LAST_MODIFIED = "Last-Modified";
/**
* 指示客户端刷新频率。单位是秒; 例如:1;url=http://www.baidu.com
*/
String REFRESH = "Refresh";
/**
* 指示客户端下载文件;例如: attachment; filename=aaa.zip
*/
String CONTENT_DISPOSITION = "Content-Disposition";
/**
* 服务器端发送的Cookie; 例如:Set-Cookie:SS=Q0=5Lb_nQ; path=/search
*/
String SET_COOKIE = "Set-Cookie";
/**
* 页面存活时间; 无缓存一般是0或-1,单位是毫秒(时间是相对于1970-01-01 00:00 00),
* 例如存活一天:System.System.currentTimeMillis()+24*60*60*1000
*/
String EXPIRES = "Expires";
/**
* Http1.1 无缓存; 例如:no-cache
*/
String CACHE_CONTROL = "Cache-Control";
/**
* Http1.0 无缓存; 例如:no-cache
*/
String PRAGMA = "Pragma";
/**
* 保持与服务器的连接; 例如: close/Keep-Alive
*/
String CONNECTION = "Connection";
/**
* 日期
*/
String DATE = "Date";
}