org.apache.tomcat.util.test
Class HttpResponse

java.lang.Object
  extended byorg.apache.tomcat.util.test.HttpResponse

public class HttpResponse
extends java.lang.Object

Part of GTest.


Constructor Summary
HttpResponse()
           
 
Method Summary
 java.util.Hashtable getHeaders()
          Response headers
 java.lang.String getResponseBody()
          Get the value of responseBody - the content
 java.lang.String getResponseLine()
          Get the value of responseLine - the first line of the response
 java.lang.Throwable getThrowable()
           
 void setHeaders(java.util.Hashtable v)
           
 void setResponseBody(java.lang.String v)
           
 void setResponseLine(java.lang.String v)
           
 void setThrowable(java.lang.Throwable t)
          Exception thrown during request execution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponse

public HttpResponse()
Method Detail

setThrowable

public void setThrowable(java.lang.Throwable t)
Exception thrown during request execution


getThrowable

public java.lang.Throwable getThrowable()

getHeaders

public java.util.Hashtable getHeaders()
Response headers


setHeaders

public void setHeaders(java.util.Hashtable v)

getResponseBody

public java.lang.String getResponseBody()
Get the value of responseBody - the content


setResponseBody

public void setResponseBody(java.lang.String v)

getResponseLine

public java.lang.String getResponseLine()
Get the value of responseLine - the first line of the response


setResponseLine

public void setResponseLine(java.lang.String v)


Copyright © 2001 Apache Software Foundation. All Rights Reserved.