Added more HTTP header constants useful for MIME representation

This commit is contained in:
Trustin Lee 2009-06-30 09:29:35 +00:00
parent c8a9142ec7
commit 6158f7772f

View File

@ -95,6 +95,10 @@ public final class HttpHeaders {
* {@code "Content-Location"}
*/
public static final String CONTENT_LOCATION = "Content-Location";
/**
* {@code "Content-Transfer-Encoding"}
*/
public static final String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding";
/**
* {@code "Content-MD5"}
*/
@ -249,6 +253,14 @@ public final class HttpHeaders {
* @version $Rev$, $Date$
*/
public static final class Values {
/**
* {@code "base64"}
*/
public static final String BASE64 = "base64";
/**
* {@code "binary"}
*/
public static final String BINARY = "binary";
/**
* {@code "bytes"}
*/
@ -337,6 +349,10 @@ public final class HttpHeaders {
* {@code "public"}
*/
public static final String PUBLIC = "public";
/**
* {@code "quoted-printable"}
*/
public static final String QUOTED_PRINTABLE = "quoted-printable";
/**
* {@code "s-maxage"}
*/