|
|||||||||||
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.ExpectContinueMethod | +--org.apache.commons.httpclient.methods.EntityEnclosingMethod | +--org.apache.commons.httpclient.methods.PutMethod | +--org.apache.commons.httpclient.methods.UrlPutMethod
HttpUrlMethod version of PutMethod.
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 |
---|
USER_AGENT |
Constructor Summary | |
---|---|
UrlPutMethod()
Deprecated. No-arg constructor. |
|
UrlPutMethod(java.lang.String url)
Deprecated. Path-setting 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.PutMethod |
---|
getName |
Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
---|
addContentLengthRequestHeader, clearRequestBody, generateRequestBody, getFollowRedirects, getRequestBody, getRequestBodyAsString, getRequestContentLength, hasRequestContent, recycle, setFollowRedirects, setRequestBody, setRequestBody, setRequestContentLength, writeRequestBody |
Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod |
---|
addRequestHeaders, getUseExpectHeader, setUseExpectHeader |
Methods inherited from class org.apache.commons.httpclient.methods.GetMethod |
---|
getFileData, 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 UrlPutMethod()
public UrlPutMethod(java.lang.String url) throws java.net.MalformedURLException
url
- the path of the request
java.net.MalformedURLException
- If the url isn't valid.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
- If the url isn't valid.public java.lang.String getUrl()
getUrl
in interface HttpUrlMethod
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |