|
||||||||||
| 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.ExpectContinueMethod
org.apache.commons.httpclient.methods.EntityEnclosingMethod
org.apache.commons.httpclient.methods.PutMethod
com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedPutMethod
public final class ExtendedPutMethod
Extended PostMethod that supports limiting of response size and detailed timestamps
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
|---|
CONTENT_LENGTH_AUTO, CONTENT_LENGTH_CHUNKED |
| Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
|---|
effectiveVersion, statusLine |
| Constructor Summary | |
|---|---|
ExtendedPutMethod()
|
|
| Method Summary | |
|---|---|
byte[] |
getDecompressedResponseBody()
|
java.lang.String |
getDumpFile()
|
java.lang.Throwable |
getFailureCause()
|
boolean |
getFollowRedirects()
|
long |
getMaxSize()
|
RestRequestInterface.RequestMethod |
getMethod()
|
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 |
setFollowRedirects(boolean followRedirects)
|
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.PutMethod |
|---|
getName |
| Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
|---|
addContentLengthRequestHeader, addRequestHeaders, clearRequestBody, generateRequestBody, generateRequestEntity, getRequestCharSet, getRequestContentLength, getRequestEntity, hasRequestContent, recycle, setContentChunked, setRequestBody, setRequestBody, setRequestContentLength, setRequestContentLength, setRequestEntity, writeRequestBody |
| Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod |
|---|
getUseExpectHeader, setUseExpectHeader |
| Methods inherited from class org.apache.commons.httpclient.HttpMethodBase |
|---|
abort, addCookieRequestHeader, addHostRequestHeader, addProxyConnectionHeader, addRequestHeader, addRequestHeader, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, generateRequestLine, getAuthenticationRealm, getContentCharSet, getDoAuthentication, getEffectiveVersion, getHostAuthState, getHostConfiguration, getMethodRetryHandler, getParams, getPath, getProxyAuthenticationRealm, getProxyAuthState, getQueryString, getRecoverableExceptionCount, 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, setHostConfiguration, setHttp11, setMethodRetryHandler, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setResponseStream, setStrictMode, setURI, shouldCloseConnection, validate, writeRequestHeaders, writeRequestLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.eviware.soapui.impl.wsdl.submit.transports.http.ExtendedHttpMethod |
|---|
getRequestEntity |
| Methods inherited from interface org.apache.commons.httpclient.HttpMethod |
|---|
abort, addRequestHeader, addRequestHeader, addResponseFooter, execute, getDoAuthentication, 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, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setStrictMode, setURI, validate |
| Constructor Detail |
|---|
public ExtendedPutMethod()
| 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 boolean getFollowRedirects()
getFollowRedirects in interface org.apache.commons.httpclient.HttpMethodgetFollowRedirects in class org.apache.commons.httpclient.methods.EntityEnclosingMethodpublic void setFollowRedirects(boolean followRedirects)
setFollowRedirects in interface org.apache.commons.httpclient.HttpMethodsetFollowRedirects in class org.apache.commons.httpclient.methods.EntityEnclosingMethodpublic 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 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 | |||||||||