com.github.dreamhead.moco.handler
Class ContentTypeDetector

java.lang.Object
  extended by com.github.dreamhead.moco.handler.ContentTypeDetector

public class ContentTypeDetector
extends java.lang.Object


Constructor Summary
ContentTypeDetector()
           
 
Method Summary
 boolean hasContentType(io.netty.handler.codec.http.HttpResponse response)
           
 boolean hasHeader(io.netty.handler.codec.http.HttpResponse response, java.lang.String headerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeDetector

public ContentTypeDetector()
Method Detail

hasContentType

public boolean hasContentType(io.netty.handler.codec.http.HttpResponse response)

hasHeader

public boolean hasHeader(io.netty.handler.codec.http.HttpResponse response,
                         java.lang.String headerName)