|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.linkcheck.HttpBean
public class HttpBean
Http bean to encapsulate the supported HTTP parameters.
org.apache.commons.httpclient.HttpMethod.
,
Serialized FormConstructor Summary | |
---|---|
HttpBean()
|
Method Summary | |
---|---|
boolean |
equals(Object other)
Method equals. |
Properties |
getHttpClientParameters()
|
String |
getMethod()
Get the HTTP method to use. |
String |
getProxyHost()
Get the proxy host. |
String |
getProxyNtlmDomain()
Get the proxy NTLM (NT Lan Manager) domain. |
String |
getProxyNtlmHost()
Get the proxy NTLM (NT Lan Manager) host. |
String |
getProxyPassword()
Get the proxy password. |
int |
getProxyPort()
Get the proxy port. |
String |
getProxyUser()
Get the proxy user. |
int |
getTimeout()
Get the timeout to be used. |
int |
hashCode()
Method hashCode. |
boolean |
isFollowRedirects()
Get if the HTTP method should automatically follow HTTP redirects (status code 302, etc.), false otherwise. |
void |
setFollowRedirects(boolean followRedirects)
Set if the HTTP method should automatically follow HTTP redirects (status code 302, etc.), false otherwise. |
void |
setHttpClientParameters(Properties httpClientParameters)
|
void |
setMethod(String method)
Set the HTTP method to use. |
void |
setProxyHost(String proxyHost)
Set the proxy host. |
void |
setProxyNtlmDomain(String proxyNtlmDomain)
Set the proxy NTLM (NT Lan Manager) domain. |
void |
setProxyNtlmHost(String proxyNtlmHost)
Set the proxy NTLM (NT Lan Manager) host. |
void |
setProxyPassword(String proxyPassword)
Set the proxy password. |
void |
setProxyPort(int proxyPort)
Set the proxy port. |
void |
setProxyUser(String proxyUser)
Set the proxy user. |
void |
setTimeout(int timeout)
Set the timeout to be used. |
String |
toString()
Method toString. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpBean()
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
other
-
public String getMethod()
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
public String getProxyHost()
public String getProxyNtlmDomain()
public String getProxyNtlmHost()
public String getProxyPassword()
public int getProxyPort()
public String getProxyUser()
public int getTimeout()
public int hashCode()
hashCode
in class Object
public boolean isFollowRedirects()
public void setFollowRedirects(boolean followRedirects)
followRedirects
- public void setMethod(String method)
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
method
- public void setProxyHost(String proxyHost)
proxyHost
- public void setProxyNtlmDomain(String proxyNtlmDomain)
proxyNtlmDomain
- public void setProxyNtlmHost(String proxyNtlmHost)
proxyNtlmHost
- public void setProxyPassword(String proxyPassword)
proxyPassword
- public void setProxyPort(int proxyPort)
proxyPort
- public void setProxyUser(String proxyUser)
proxyUser
- public String toString()
toString
in class Object
public void setTimeout(int timeout)
timeout
- positive intpublic Properties getHttpClientParameters()
http://hc.apache.org/httpclient-3.x/preference-api.html
public void setHttpClientParameters(Properties httpClientParameters)
httpClientParameters
- the extra HttpClient parameters to sethttp://hc.apache.org/httpclient-3.x/preference-api.html
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |