1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.kernel.servlet;
16  
17  /**
18   * <a href="HttpHeaders.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface HttpHeaders {
23  
24      // Names
25  
26      public static final String ACCEPT = "ACCEPT";
27  
28      public static final String ACCEPT_ENCODING = "Accept-Encoding";
29  
30      public static final String AUTHORIZATION = "Authorization";
31  
32      public static final String CACHE_CONTROL = "Cache-Control";
33  
34      public static final String COOKIE = "Cookie";
35  
36      public static final String CONNECTION = "Connection";
37  
38      public static final String CONTENT_DISPOSITION = "Content-Disposition";
39  
40      public static final String CONTENT_ENCODING = "Content-Encoding";
41  
42      public static final String CONTENT_ID = "Content-ID";
43  
44      public static final String CONTENT_LENGTH = "Content-Length";
45  
46      public static final String CONTENT_TYPE = "Content-Type";
47  
48      public static final String EXPIRES = "Expires";
49  
50      public static final String ETAG = "ETag";
51  
52      public static final String IF_MODIFIED_SINCE = "If-Modified-Since";
53  
54      public static final String IF_NONE_MATCH = "If-None-Match";
55  
56      public static final String KEEP_ALIVE = "Keep-Alive";
57  
58      public static final String LAST_MODIFIED = "Last-Modified";
59  
60      public static final String LIFERAY_EMAIL_ADDRESS = "LIFERAY_EMAIL_ADDRESS";
61  
62      public static final String LIFERAY_SCREEN_NAME = "LIFERAY_SCREEN_NAME";
63  
64      public static final String LIFERAY_USER_ID = "LIFERAY_USER_ID";
65  
66      public static final String LOCATION = "Location";
67  
68      public static final String PRAGMA = "Pragma";
69  
70      public static final String USER_AGENT = "User-Agent";
71  
72      public static final String WWW_AUTHENTICATE = "WWW-Authenticate";
73  
74      // Values
75  
76      public static final String CONNECTION_CLOSE_VALUE = "close";
77  
78      public static final String CACHE_CONTROL_DEFAULT_VALUE =
79          "max-age=315360000, public";
80  
81      public static final String CACHE_CONTROL_PUBLIC_VALUE = "public";
82  
83      /**
84       * @deprecated Use <code>CONNECTION_CLOSE_VALUE</code>.
85       */
86      public static final String CLOSE = CONNECTION_CLOSE_VALUE;
87  
88      public static final String EXPIRES_DEFAULT_VALUE = "315360000";
89  
90      public static final String PRAGMA_PUBLIC_VALUE = "public";
91  
92      /**
93       * @deprecated Use <code>CACHE_CONTROL_PUBLIC_VALUE</code>.
94       */
95      public static final String PUBLIC = CACHE_CONTROL_PUBLIC_VALUE;
96  
97  }