01: package org.directwebremoting.servlet;
02:
03: /**
04: * Various constant for dealing with HTTP traffic.
05: * @author Joe Walker [joe at getahead dot ltd dot uk]
06: */
07: public interface HttpConstants {
08: /**
09: * HTTP etag header
10: */
11: public static final String HEADER_ETAG = "ETag";
12:
13: /**
14: * HTTP etag equivalent of HEADER_IF_MODIFIED
15: */
16: public static final String HEADER_IF_NONE = "If-None-Match";
17:
18: /**
19: * HTTP header for when a file was last modified
20: */
21: public static final String HEADER_LAST_MODIFIED = "Last-Modified";
22:
23: /**
24: * HTTP header to request only modified data
25: */
26: public static final String HEADER_IF_MODIFIED = "If-Modified-Since";
27:
28: /**
29: * The name of the user agent HTTP header
30: */
31: public static final String HEADER_USER_AGENT = "User-Agent";
32: }
|