|
||||||||||
| 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.HeadMethod
org.apache.commons.httpclient.methods.UrlHeadMethod
public class UrlHeadMethod
HttpUrlMethod version of HeadMethod.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
|---|
USER_AGENT |
| Constructor Summary | |
|---|---|
UrlHeadMethod()
Deprecated. No-arg constructor. |
|
UrlHeadMethod(String url)
Deprecated. Path-setting 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.HeadMethod |
|---|
getBodyCheckTimeout, getName, readResponseBody, recycle, setBodyCheckTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlHeadMethod()
public UrlHeadMethod(String url)
throws MalformedURLException
url - the path of the request
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 | |||||||||