HTTP response header Information

Source: Internet
Author: User
[Java]   View Plain Copy/**   *  Class Description: HTTP response header information    *    *  @author   Author:  LiuJunGuang   *  @version   creation time:2011-10-29  am 09:11:08   */   public interface responseconstant {       /**        *  indicates the location of the new resource        */        string location =  "Location";       /**        *  indicates the type of server        */       string  SERVER =  "SERVER";       /**       *   The type of data sent by the server using the encoding  ;  such as:gzip       */        String CONTENT_ENCODING =  "Content-encoding";       /**   &Nbsp;    *  length of body        */        String CONTENT_LENGTH =  "Content-length";       /**       *  the language of the text sent by the service;  such as:zh-cn       */        String CONTENT_LANGUAGE =  "Content-language";        /**       *  MIME type of content sent by the server  ;  for example: text/html;  charset=GB2312       */       String  content_type =  "Content-type";       /**        *  last modified time for files        */       String  last_modified =  "last-modified";       /**        *  Indicator GuestThe frequency at which the client refreshes. Units are seconds;  such as:1;url=http://www.baidu.com       */        String REFRESH =  "REFRESH";       /**        *  instructs the client to download the file; for example: attachment; filename=aaa.zip        */       String CONTENT_DISPOSITION =  "Content-disposition";        /**       *  cookie;  sent from server side such as:set-cookie:ss=q0=5lb_nq; path=/search       */        String SET_COOKIE =  "Set-cookie";       /**       *  page Survival Time;  No cache is typically 0 or-1, in milliseconds (time is relative to 1970-01-01 00:00 00),       *  For example, a day of survival: System.System.currentTimeMillis () +24*60*60*1000        */       String EXPIRES =  "EXPIRES";        /**       * Http1.1  No cache;  such as:no-cache        */       String CACHE_CONTROL =  "Cache-control";   

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.