public class ContentTypeHeader extends HttpHeader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY |
key, values
Constructor and Description |
---|
ContentTypeHeader(java.lang.String stringValue) |
Modifier and Type | Method and Description |
---|---|
static ContentTypeHeader |
absent() |
com.google.common.base.Optional<java.lang.String> |
encodingPart() |
java.lang.String |
mimeTypePart() |
ContentTypeHeader |
or(java.lang.String stringValue) |
absent, caseInsensitiveKey, httpHeader, httpHeader
containsValue, firstValue, hasValueMatching, isPresent, isSingleValued, key, toString, values
public static final java.lang.String KEY
public static ContentTypeHeader absent()
public ContentTypeHeader or(java.lang.String stringValue)
public java.lang.String mimeTypePart()
public com.google.common.base.Optional<java.lang.String> encodingPart()