com.eviware.soapui.impl.wsdl.submit.transports.http
Class HttpMethodSupport
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpMethodSupport
public HttpMethodSupport(org.apache.commons.httpclient.HttpMethodBase httpMethod)
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()
getResponseCharset
public java.lang.String getResponseCharset()
- Handles charset specified in Content-Encoding headers
- Returns:
getFailureCause
public java.lang.Throwable getFailureCause()
isFailed
public boolean isFailed()
setFailed
public void setFailed(java.lang.Throwable t)
hasResponse
public boolean hasResponse()
Copyright © 2005-2009 eviware.com. All Rights Reserved.