com.github.tomakehurst.wiremock.http
Class ContentTypeHeader
java.lang.Object
com.github.tomakehurst.wiremock.http.HttpHeader
com.github.tomakehurst.wiremock.http.ContentTypeHeader
public class ContentTypeHeader
- extends HttpHeader
|
Field Summary |
static java.lang.String |
KEY
|
| Methods inherited from class com.github.tomakehurst.wiremock.http.HttpHeader |
absent, containsValue, copyOf, firstValue, hasValueMatching, httpHeader, isPresent, isSingleValued, key, toString, values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
ContentTypeHeader
public ContentTypeHeader(java.lang.String stringValue)
getFrom
public static com.google.common.base.Optional<ContentTypeHeader> getFrom(Request request)
absent
public static ContentTypeHeader absent()
mimeTypePart
public java.lang.String mimeTypePart()
encodingPart
public com.google.common.base.Optional<java.lang.String> encodingPart()