* Added Values.MIN_FRESH

* Made Names and Values extensible
This commit is contained in:
Trustin Lee 2010-01-25 04:22:45 +00:00
parent 2dde1e9bac
commit 1c2796983e

View File

@ -42,7 +42,7 @@ public class HttpHeaders {
* *
* @apiviz.stereotype static * @apiviz.stereotype static
*/ */
public static final class Names { public static class Names {
/** /**
* {@code "Accept"} * {@code "Accept"}
*/ */
@ -268,7 +268,7 @@ public class HttpHeaders {
*/ */
public static final String WWW_AUTHENTICATE = "WWW-Authenticate"; public static final String WWW_AUTHENTICATE = "WWW-Authenticate";
private Names() { protected Names() {
super(); super();
} }
} }
@ -282,7 +282,7 @@ public class HttpHeaders {
* *
* @apiviz.stereotype static * @apiviz.stereotype static
*/ */
public static final class Values { public static class Values {
/** /**
* {@code "base64"} * {@code "base64"}
*/ */
@ -343,6 +343,10 @@ public class HttpHeaders {
* {@code "max-stale"} * {@code "max-stale"}
*/ */
public static final String MAX_STALE = "max-stale"; public static final String MAX_STALE = "max-stale";
/**
* {@code "min-fresh"}
*/
public static final String MIN_FRESH = "min-fresh";
/** /**
* {@code "must-revalidate"} * {@code "must-revalidate"}
*/ */
@ -400,7 +404,7 @@ public class HttpHeaders {
*/ */
public static final String WEBSOCKET = "WebSocket"; public static final String WEBSOCKET = "WebSocket";
private Values() { protected Values() {
super(); super();
} }
} }