* 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
|
||||
*/
|
||||
public static final class Names {
|
||||
public static class Names {
|
||||
/**
|
||||
* {@code "Accept"}
|
||||
*/
|
||||
@ -268,7 +268,7 @@ public class HttpHeaders {
|
||||
*/
|
||||
public static final String WWW_AUTHENTICATE = "WWW-Authenticate";
|
||||
|
||||
private Names() {
|
||||
protected Names() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@ -282,7 +282,7 @@ public class HttpHeaders {
|
||||
*
|
||||
* @apiviz.stereotype static
|
||||
*/
|
||||
public static final class Values {
|
||||
public static class Values {
|
||||
/**
|
||||
* {@code "base64"}
|
||||
*/
|
||||
@ -343,6 +343,10 @@ public class HttpHeaders {
|
||||
* {@code "max-stale"}
|
||||
*/
|
||||
public static final String MAX_STALE = "max-stale";
|
||||
/**
|
||||
* {@code "min-fresh"}
|
||||
*/
|
||||
public static final String MIN_FRESH = "min-fresh";
|
||||
/**
|
||||
* {@code "must-revalidate"}
|
||||
*/
|
||||
@ -400,7 +404,7 @@ public class HttpHeaders {
|
||||
*/
|
||||
public static final String WEBSOCKET = "WebSocket";
|
||||
|
||||
private Values() {
|
||||
protected Values() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user