org.browsermob.proxy.http
Class BrowserMobHttpResponse

java.lang.Object
  extended by org.browsermob.proxy.http.BrowserMobHttpResponse

public class BrowserMobHttpResponse
extends Object


Constructor Summary
BrowserMobHttpResponse(HarEntry entry, org.apache.http.client.methods.HttpRequestBase method, org.apache.http.HttpResponse response, boolean contentMatched, String verificationText, String errorMessage, String body, String contentType, String charSet)
           
 
Method Summary
 void checkContentMatched(String info)
           
 String getBody()
           
 String getCharSet()
           
 String getContentType()
           
 HarEntry getEntry()
           
 String getErrorMessage()
           
 String getHeader(String name)
           
 org.apache.http.HttpResponse getRawResponse()
           
 boolean isContentMatched()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserMobHttpResponse

public BrowserMobHttpResponse(HarEntry entry,
                              org.apache.http.client.methods.HttpRequestBase method,
                              org.apache.http.HttpResponse response,
                              boolean contentMatched,
                              String verificationText,
                              String errorMessage,
                              String body,
                              String contentType,
                              String charSet)
Method Detail

isContentMatched

public boolean isContentMatched()

getBody

public String getBody()

getContentType

public String getContentType()

getCharSet

public String getCharSet()

getErrorMessage

public String getErrorMessage()

getHeader

public String getHeader(String name)

getRawResponse

public org.apache.http.HttpResponse getRawResponse()

checkContentMatched

public void checkContentMatched(String info)

getEntry

public HarEntry getEntry()


Copyright © 2011. All Rights Reserved.