|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.httpclient.HttpMethodBase | +--org.apache.commons.httpclient.methods.HeadMethod | +--org.apache.commons.httpclient.methods.UrlHeadMethod
HttpUrlMethod version of HeadMethod.
Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
USER_AGENT |
Constructor Summary | |
UrlHeadMethod()
No-arg constructor. |
|
UrlHeadMethod(java.lang.String url)
Path-setting constructor. |
Method Summary | |
java.lang.String |
getUrl()
Returns this request's URL. |
void |
setUrl(java.lang.String url)
Sets the URL. |
Methods inherited from class org.apache.commons.httpclient.methods.HeadMethod |
getName, readResponseBody, recycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.httpclient.HttpMethod |
addRequestHeader, addRequestHeader, addResponseFooter, execute, getFollowRedirects, getName, getPath, getQueryString, getRequestHeader, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaders, getStatusCode, getStatusText, hasBeenUsed, isStrictMode, recycle, removeRequestHeader, setFollowRedirects, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setStrictMode, validate |
Constructor Detail |
public UrlHeadMethod()
public UrlHeadMethod(java.lang.String url) throws java.net.MalformedURLException
url
- the path of the requestMethod Detail |
public void setUrl(java.lang.String url) throws java.net.MalformedURLException
setUrl
in interface HttpUrlMethod
url
- - the URL for this request.public java.lang.String getUrl()
getUrl
in interface HttpUrlMethod
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |