* Added Values.MIN_FRESH
* Made Names and Values extensible
This commit is contained in:
parent
2dde1e9bac
commit
1c2796983e
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user