com.eviware.soapui.impl.wsdl.submit.transports.http
Class HttpMethodSupport

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.submit.transports.http.HttpMethodSupport

public final class HttpMethodSupport
extends java.lang.Object

Extended PostMethod that supports limiting of response size and detailed timestamps

Author:
Ole.Matzura

Constructor Summary
HttpMethodSupport(org.apache.commons.httpclient.HttpMethodBase httpMethod)
           
 
Method Summary
 void afterReadResponse(org.apache.commons.httpclient.HttpState arg0, org.apache.commons.httpclient.HttpConnection arg1)
           
 void afterWriteRequest(org.apache.commons.httpclient.HttpState arg0, org.apache.commons.httpclient.HttpConnection arg1)
           
 java.lang.String getDumpFile()
           
 long getMaxSize()
           
 byte[] getResponseBody()
           
 java.lang.String getResponseContentType()
           
 long getResponseReadTime()
           
 SSLInfo getSSLInfo()
           
 long getStartTime()
           
 long getTimeTaken()
           
 void initStartTime()
           
 void setDumpFile(java.lang.String dumpFile)
           
 void setMaxSize(long maxSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpMethodSupport

public HttpMethodSupport(org.apache.commons.httpclient.HttpMethodBase httpMethod)
Method Detail

getDumpFile

public java.lang.String getDumpFile()

setDumpFile

public void setDumpFile(java.lang.String dumpFile)

afterReadResponse

public void afterReadResponse(org.apache.commons.httpclient.HttpState arg0,
                              org.apache.commons.httpclient.HttpConnection arg1)

getMaxSize

public long getMaxSize()

setMaxSize

public void setMaxSize(long maxSize)

afterWriteRequest

public void afterWriteRequest(org.apache.commons.httpclient.HttpState arg0,
                              org.apache.commons.httpclient.HttpConnection arg1)

initStartTime

public void initStartTime()

getTimeTaken

public long getTimeTaken()

getStartTime

public long getStartTime()

getResponseBody

public byte[] getResponseBody()
                       throws java.io.IOException
Throws:
java.io.IOException

getSSLInfo

public SSLInfo getSSLInfo()

getResponseContentType

public java.lang.String getResponseContentType()

getResponseReadTime

public long getResponseReadTime()


Copyright © 2005-2008 eviware.com. All Rights Reserved.