com.github.tomakehurst.wiremock.http
Class ContentTypeHeader

java.lang.Object
  extended by com.github.tomakehurst.wiremock.http.HttpHeader
      extended by com.github.tomakehurst.wiremock.http.ContentTypeHeader

public class ContentTypeHeader
extends HttpHeader


Field Summary
static java.lang.String KEY
           
 
Constructor Summary
ContentTypeHeader(java.lang.String stringValue)
           
 
Method Summary
static ContentTypeHeader absent()
           
 com.google.common.base.Optional<java.lang.String> encodingPart()
           
static com.google.common.base.Optional<ContentTypeHeader> getFrom(Request request)
           
 java.lang.String mimeTypePart()
           
 
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
 

Field Detail

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values
Constructor Detail

ContentTypeHeader

public ContentTypeHeader(java.lang.String stringValue)
Method Detail

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()