|
||||||||||
| 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
org.apache.commons.httpclient.methods.ExpectContinueMethod
org.apache.commons.httpclient.methods.EntityEnclosingMethod
org.apache.commons.httpclient.methods.PostMethod
org.apache.commons.httpclient.methods.UrlPostMethod
public class UrlPostMethod
HttpUrlMethod version of PostMethod.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.httpclient.methods.PostMethod |
|---|
FORM_URL_ENCODED_CONTENT_TYPE |
| 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 |
|---|
USER_AGENT |
| Constructor Summary | |
|---|---|
UrlPostMethod()
Deprecated. No-arg constructor. |
|
UrlPostMethod(String url)
Deprecated. Path-setting constructor. |
|
UrlPostMethod(String url,
String tempDir)
Deprecated. Constructor. |
|
UrlPostMethod(String url,
String tempDir,
String tempFile)
Deprecated. Constructor. |
|
| Method Summary | |
|---|---|
String |
getUrl()
Deprecated. Returns this request's URL. |
void |
setUrl(String url)
Deprecated. Sets the URL. |
| Methods inherited from class org.apache.commons.httpclient.methods.PostMethod |
|---|
addParameter, addParameter, addParameters, addRequestHeaders, clearRequestBody, generateRequestBody, getName, getParameter, getParameters, hasRequestContent, removeParameter, removeParameter, setParameter, setRequestBody |
| Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
|---|
addContentLengthRequestHeader, getFollowRedirects, getRequestBody, getRequestBodyAsString, getRequestContentLength, recycle, setFollowRedirects, setRequestBody, setRequestBody, setRequestContentLength, writeRequestBody |
| Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod |
|---|
getUseExpectHeader, setUseExpectHeader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlPostMethod()
public UrlPostMethod(String url)
throws MalformedURLException
url - the URL to request
MalformedURLException - If the url isn't valid.
public UrlPostMethod(String url,
String tempDir)
throws MalformedURLException
url - the URL to requesttempDir - directory to store temp files in
MalformedURLException - If the url isn't valid.
public UrlPostMethod(String url,
String tempDir,
String tempFile)
throws MalformedURLException
url - the URL to requesttempDir - directory to store temp files intempFile - file to store temporary data in
MalformedURLException - If the url isn't valid.| Method Detail |
|---|
public void setUrl(String url)
throws MalformedURLException
setUrl in interface HttpUrlMethodurl - - the URL for this request.
MalformedURLException - If the url isn't valid.public String getUrl()
getUrl in interface HttpUrlMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||