|
|||||||||||
| 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.UrlGetMethod
Implements the URL version of GetMethod. It serves the same purpose as GetMethod but it takes URL instead of a path.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
|---|
USER_AGENT |
| Constructor Summary | |
|---|---|
UrlGetMethod()
Deprecated. No-arg constructor. |
|
UrlGetMethod(java.lang.String url)
Deprecated. Create an instance with the specified URL |
|
UrlGetMethod(java.lang.String url,
java.io.File fileData)
Deprecated. Constructor. |
|
UrlGetMethod(java.lang.String url,
java.lang.String tempDir)
Deprecated. Create an instance with the specified URL and temporary directory. |
|
UrlGetMethod(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.GetMethod |
|---|
getFileData, getName, getTempDir, getTempFile, getUseDisk, readResponseBody, recycle, 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 UrlGetMethod()
public UrlGetMethod(java.lang.String url)
throws java.net.MalformedURLException
url - The URL
java.net.MalformedURLException - If the url isn't valid.
public UrlGetMethod(java.lang.String url,
java.lang.String tempDir)
throws java.net.MalformedURLException
url - The URLtempDir - The temporary directory
java.net.MalformedURLException - If the url isn't valid.
public UrlGetMethod(java.lang.String url,
java.lang.String tempDir,
java.lang.String tempFile)
throws java.net.MalformedURLException
url - the path of the requesttempDir - the directory in which to store temporary filestempFile - the file (under tempDir) to buffer contents to
java.net.MalformedURLException - If the url isn't valid.
public UrlGetMethod(java.lang.String url,
java.io.File fileData)
throws java.net.MalformedURLException
url - the path of the requestfileData - the file to buffer contents to
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 HttpUrlMethodurl - - 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 | ||||||||||