|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.httpclient.HttpMethodBase | +--org.apache.commons.httpclient.methods.GetMethod | +--org.apache.commons.httpclient.methods.PostMethod | +--org.apache.commons.httpclient.methods.UrlPostMethod
HttpUrlMethod version of PostMethod.
Field Summary |
Fields inherited from class org.apache.commons.httpclient.methods.PostMethod |
buffer, CONTENT_LENGTH_AUTO, CONTENT_LENGTH_CHUNKED, parameters, repeatCount, requestBody, requestContentLength |
Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
USER_AGENT |
Constructor Summary | |
UrlPostMethod()
Deprecated. No-arg constructor. |
|
UrlPostMethod(java.lang.String url)
Deprecated. Path-setting constructor. |
|
UrlPostMethod(java.lang.String url,
java.lang.String tempDir)
Deprecated. Constructor. |
|
UrlPostMethod(java.lang.String url,
java.lang.String tempDir,
java.lang.String tempFile)
Deprecated. Constructor. |
Method Summary | |
java.lang.String |
getUrl()
Deprecated. Returns this request's URL. |
void |
setUrl(java.lang.String url)
Deprecated. Sets the URL. |
Methods inherited from class org.apache.commons.httpclient.methods.PostMethod |
addParameter, addParameter, addParameters, addRequestHeaders, generateRequestBody, generateRequestBodyAsString, getFollowRedirects, getName, getParameter, getParameters, getRequestBody, getRequestBodyAsString, getRequestContentLength, recycle, removeParameter, removeParameter, setParameter, setRequestBody, setRequestBody, setRequestContentLength, writeRequestBody |
Methods inherited from class org.apache.commons.httpclient.methods.GetMethod |
getFileData, getResponseBody, getResponseBodyAsStream, getTempDir, getTempFile, getUseDisk, readResponseBody, setFileData, setTempDir, setTempFile, setUseDisk |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UrlPostMethod()
public UrlPostMethod(java.lang.String url) throws java.net.MalformedURLException
url
- the URL to request
java.net.MalformedURLException
public UrlPostMethod(java.lang.String url, java.lang.String tempDir) throws java.net.MalformedURLException
url
- the URL to requesttempDir
- directory to store temp files in
java.net.MalformedURLException
public UrlPostMethod(java.lang.String url, java.lang.String tempDir, java.lang.String tempFile) throws java.net.MalformedURLException
url
- the URL to requesttempDir
- directory to store temp files intempFile
- file to store temporary data in
java.net.MalformedURLException
Method Detail |
public void setUrl(java.lang.String url) throws java.net.MalformedURLException
setUrl
in interface HttpUrlMethod
url
- - the URL for this request.
java.net.MalformedURLException
- when the url can't be createdpublic java.lang.String getUrl()
getUrl
in interface HttpUrlMethod
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |