|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.httpclient.HttpMethodBase
org.apache.commons.httpclient.methods.GetMethod
com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedGetMethod
public final class ExtendedGetMethod
Extended PostMethod that supports limiting of response size and detailed timestamps
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
|---|
effectiveVersion, statusLine |
| Constructor Summary | |
|---|---|
ExtendedGetMethod()
|
|
| Method Summary | |
|---|---|
byte[] |
getDecompressedResponseBody()
|
java.lang.String |
getDumpFile()
|
java.lang.Throwable |
getFailureCause()
|
long |
getMaxSize()
|
RestRequestInterface.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()
|
boolean |
hasResponse()
|
void |
initStartTime()
|
boolean |
isFailed()
|
protected void |
readResponse(org.apache.commons.httpclient.HttpState arg0,
org.apache.commons.httpclient.HttpConnection arg1)
|
void |
setDecompress(boolean decompress)
|
void |
setDumpFile(java.lang.String dumpFile)
|
void |
setFailed(java.lang.Throwable t)
|
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.GetMethod |
|---|
getName, recycle |
| 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, 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 |
|---|
public ExtendedGetMethod()
| Method Detail |
|---|
public java.lang.String getDumpFile()
public void setDumpFile(java.lang.String dumpFile)
setDumpFile in interface ExtendedHttpMethodpublic boolean hasResponse()
hasResponse in interface ExtendedHttpMethod
protected void readResponse(org.apache.commons.httpclient.HttpState arg0,
org.apache.commons.httpclient.HttpConnection arg1)
throws java.io.IOException,
org.apache.commons.httpclient.HttpException
readResponse in class org.apache.commons.httpclient.HttpMethodBasejava.io.IOException
org.apache.commons.httpclient.HttpExceptionpublic java.lang.String getResponseCharSet()
getResponseCharSet in interface ExtendedHttpMethodgetResponseCharSet in class org.apache.commons.httpclient.HttpMethodBasepublic long getMaxSize()
getMaxSize in interface ExtendedHttpMethodpublic void setMaxSize(long maxSize)
setMaxSize in interface ExtendedHttpMethodpublic long getResponseReadTime()
getResponseReadTime in interface ExtendedHttpMethod
protected void writeRequest(org.apache.commons.httpclient.HttpState arg0,
org.apache.commons.httpclient.HttpConnection arg1)
throws java.io.IOException,
org.apache.commons.httpclient.HttpException
writeRequest in class org.apache.commons.httpclient.HttpMethodBasejava.io.IOException
org.apache.commons.httpclient.HttpExceptionpublic void initStartTime()
initStartTime in interface ExtendedHttpMethodpublic long getTimeTaken()
getTimeTaken in interface ExtendedHttpMethodpublic long getStartTime()
getStartTime in interface ExtendedHttpMethod
public byte[] getResponseBody()
throws java.io.IOException
getResponseBody in interface org.apache.commons.httpclient.HttpMethodgetResponseBody in class org.apache.commons.httpclient.HttpMethodBasejava.io.IOExceptionpublic SSLInfo getSSLInfo()
getSSLInfo in interface ExtendedHttpMethodpublic java.lang.String getResponseContentType()
getResponseContentType in interface ExtendedHttpMethodpublic org.apache.commons.httpclient.methods.RequestEntity getRequestEntity()
getRequestEntity in interface ExtendedHttpMethodpublic RestRequestInterface.RequestMethod getMethod()
getMethod in interface ExtendedHttpMethodpublic java.lang.Throwable getFailureCause()
getFailureCause in interface ExtendedHttpMethodpublic boolean isFailed()
isFailed in interface ExtendedHttpMethodpublic void setFailed(java.lang.Throwable t)
setFailed in interface ExtendedHttpMethod
public byte[] getDecompressedResponseBody()
throws java.io.IOException
getDecompressedResponseBody in interface ExtendedHttpMethodjava.io.IOExceptionpublic void setDecompress(boolean decompress)
setDecompress in interface ExtendedHttpMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||