com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods
Class ExtendedDeleteMethod

java.lang.Object
  extended by org.apache.commons.httpclient.HttpMethodBase
      extended by org.apache.commons.httpclient.methods.DeleteMethod
          extended by com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedDeleteMethod
All Implemented Interfaces:
ExtendedHttpMethod, org.apache.commons.httpclient.HttpMethod

public final class ExtendedDeleteMethod
extends org.apache.commons.httpclient.methods.DeleteMethod
implements ExtendedHttpMethod

Extended PostMethod that supports limiting of response size and detailed timestamps

Author:
Ole.Matzura

Field Summary
 
Fields inherited from class org.apache.commons.httpclient.HttpMethodBase
effectiveVersion, statusLine
 
Constructor Summary
ExtendedDeleteMethod()
           
 
Method Summary
 java.lang.String getDumpFile()
           
 long getMaxSize()
           
 AbstractHttpRequest.RequestMethod getMethod()
           
 org.apache.commons.httpclient.methods.RequestEntity getRequestEntity()
           
 byte[] getResponseBody()
           
 java.lang.String getResponseCharSet()
           
 java.lang.String getResponseContentType()
           
 long getResponseReadTime()
           
 SSLInfo getSSLInfo()
           
 long getStartTime()
           
 long getTimeTaken()
           
 void initStartTime()
           
protected  void readResponse(org.apache.commons.httpclient.HttpState arg0, org.apache.commons.httpclient.HttpConnection arg1)
           
 void setDumpFile(java.lang.String dumpFile)
           
 void setMaxSize(long maxSize)
           
protected  void writeRequest(org.apache.commons.httpclient.HttpState arg0, org.apache.commons.httpclient.HttpConnection arg1)
           
 
Methods inherited from class org.apache.commons.httpclient.methods.DeleteMethod
getName
 
Methods inherited from class org.apache.commons.httpclient.HttpMethodBase
abort, addCookieRequestHeader, addHostRequestHeader, addProxyConnectionHeader, addRequestHeader, addRequestHeader, addRequestHeaders, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, generateRequestLine, getAuthenticationRealm, getContentCharSet, getDoAuthentication, getEffectiveVersion, getFollowRedirects, getHostAuthState, getHostConfiguration, getMethodRetryHandler, getParams, getPath, getProxyAuthenticationRealm, getProxyAuthState, getQueryString, getRecoverableExceptionCount, getRequestCharSet, getRequestHeader, getRequestHeaderGroup, getRequestHeaders, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseBodyAsString, getResponseContentLength, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaderGroup, getResponseHeaders, getResponseHeaders, getResponseStream, getResponseTrailerHeaderGroup, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isAborted, isConnectionCloseForced, isHttp11, isRequestSent, isStrictMode, processCookieHeaders, processResponseBody, processResponseHeaders, processStatusLine, readResponseBody, readResponseHeaders, readStatusLine, recycle, releaseConnection, removeRequestHeader, removeRequestHeader, responseBodyConsumed, setConnectionCloseForced, setDoAuthentication, setFollowRedirects, setHostConfiguration, setHttp11, setMethodRetryHandler, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setResponseStream, setStrictMode, setURI, shouldCloseConnection, validate, writeRequestBody, writeRequestHeaders, writeRequestLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.httpclient.HttpMethod
abort, addRequestHeader, addRequestHeader, addResponseFooter, execute, getDoAuthentication, getFollowRedirects, getHostAuthState, getHostConfiguration, getName, getParams, getPath, getProxyAuthState, getQueryString, getRequestHeader, getRequestHeaders, getRequestHeaders, getResponseBodyAsStream, getResponseBodyAsString, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaders, getResponseHeaders, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isRequestSent, isStrictMode, recycle, releaseConnection, removeRequestHeader, removeRequestHeader, setDoAuthentication, setFollowRedirects, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setStrictMode, setURI, validate
 

Constructor Detail

ExtendedDeleteMethod

public ExtendedDeleteMethod()
Method Detail

getDumpFile

public java.lang.String getDumpFile()

setDumpFile

public void setDumpFile(java.lang.String dumpFile)
Specified by:
setDumpFile in interface ExtendedHttpMethod

readResponse

protected void readResponse(org.apache.commons.httpclient.HttpState arg0,
                            org.apache.commons.httpclient.HttpConnection arg1)
                     throws java.io.IOException,
                            org.apache.commons.httpclient.HttpException
Overrides:
readResponse in class org.apache.commons.httpclient.HttpMethodBase
Throws:
java.io.IOException
org.apache.commons.httpclient.HttpException

getResponseCharSet

public java.lang.String getResponseCharSet()
Specified by:
getResponseCharSet in interface ExtendedHttpMethod
Overrides:
getResponseCharSet in class org.apache.commons.httpclient.HttpMethodBase

getMaxSize

public long getMaxSize()
Specified by:
getMaxSize in interface ExtendedHttpMethod

setMaxSize

public void setMaxSize(long maxSize)
Specified by:
setMaxSize in interface ExtendedHttpMethod

getResponseReadTime

public long getResponseReadTime()
Specified by:
getResponseReadTime in interface ExtendedHttpMethod

writeRequest

protected void writeRequest(org.apache.commons.httpclient.HttpState arg0,
                            org.apache.commons.httpclient.HttpConnection arg1)
                     throws java.io.IOException,
                            org.apache.commons.httpclient.HttpException
Overrides:
writeRequest in class org.apache.commons.httpclient.HttpMethodBase
Throws:
java.io.IOException
org.apache.commons.httpclient.HttpException

initStartTime

public void initStartTime()
Specified by:
initStartTime in interface ExtendedHttpMethod

getTimeTaken

public long getTimeTaken()
Specified by:
getTimeTaken in interface ExtendedHttpMethod

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface ExtendedHttpMethod

getResponseBody

public byte[] getResponseBody()
                       throws java.io.IOException
Specified by:
getResponseBody in interface org.apache.commons.httpclient.HttpMethod
Overrides:
getResponseBody in class org.apache.commons.httpclient.HttpMethodBase
Throws:
java.io.IOException

getSSLInfo

public SSLInfo getSSLInfo()
Specified by:
getSSLInfo in interface ExtendedHttpMethod

getResponseContentType

public java.lang.String getResponseContentType()
Specified by:
getResponseContentType in interface ExtendedHttpMethod

getRequestEntity

public org.apache.commons.httpclient.methods.RequestEntity getRequestEntity()
Specified by:
getRequestEntity in interface ExtendedHttpMethod

getMethod

public AbstractHttpRequest.RequestMethod getMethod()
Specified by:
getMethod in interface ExtendedHttpMethod


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