|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.urlchecker.communication.configurers.ClientConfigurer
public class ClientConfigurer
The ClientConfigurer class for the old jakarta httpClient. Here the client is configured for all the hosts and the proxy provided in the configuration and with preemptive authentication if so is required.
$Id: ClientConfigurer.java 182 2010-12-13 22:51:53Z georgosn $
Constructor Summary | |
---|---|
ClientConfigurer()
|
Method Summary | |
---|---|
protected void |
configureHosts(org.apache.commons.configuration.XMLConfiguration config,
org.apache.commons.httpclient.HttpClient client)
Configure the hosts. |
protected void |
configurePreemptive(org.apache.commons.configuration.XMLConfiguration config,
org.apache.commons.httpclient.HttpClient client)
Configure preemptive authentication. |
protected void |
configureProxy(org.apache.commons.configuration.XMLConfiguration config,
org.apache.commons.httpclient.HttpClient client)
Configure the proxies. |
org.apache.commons.httpclient.HttpClient |
configureWith(org.apache.commons.configuration.XMLConfiguration config)
Configure with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientConfigurer()
Method Detail |
---|
protected void configureHosts(org.apache.commons.configuration.XMLConfiguration config, org.apache.commons.httpclient.HttpClient client)
config
- the XML configurationclient
- the httpClientprotected void configurePreemptive(org.apache.commons.configuration.XMLConfiguration config, org.apache.commons.httpclient.HttpClient client)
config
- the XML configurationclient
- the httpClientprotected void configureProxy(org.apache.commons.configuration.XMLConfiguration config, org.apache.commons.httpclient.HttpClient client)
config
- the XML configurationclient
- the httpClientpublic org.apache.commons.httpclient.HttpClient configureWith(org.apache.commons.configuration.XMLConfiguration config)
configureWith
in interface Configurer<org.apache.commons.httpclient.HttpClient>
config
- the XML configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |