net.sf.urlchecker.v2.communication.configurers
Class ClientConfigurer

Package class diagram package ClientConfigurer
java.lang.Object
  extended by net.sf.urlchecker.v2.communication.configurers.ClientConfigurer
All Implemented Interfaces:
Configurer<org.apache.http.client.HttpClient>

public class ClientConfigurer
extends Object
implements Configurer<org.apache.http.client.HttpClient>

The Class ClientConfigurer that configures the new HttpClient.

$Id: ClientConfigurer.java 183 2010-12-17 19:10:21Z georgosn $

Version:
$LastChangedRevision: 183 $
Author:
$LastChangedBy: georgosn $

Constructor Summary
ClientConfigurer(boolean threaded)
          Instantiates a new client configurer.
 
Method Summary
protected  void configureProxy(org.apache.commons.configuration.XMLConfiguration config, org.apache.http.client.HttpClient client)
          Configure proxy.
 org.apache.http.client.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

ClientConfigurer

public ClientConfigurer(boolean threaded)
Instantiates a new client configurer.

Parameters:
threaded - the threaded
Method Detail

configureProxy

protected void configureProxy(org.apache.commons.configuration.XMLConfiguration config,
                              org.apache.http.client.HttpClient client)
Configure proxy.

Parameters:
config - the config
client - the client

configureWith

public org.apache.http.client.HttpClient configureWith(org.apache.commons.configuration.XMLConfiguration config)
Configure with.

Specified by:
configureWith in interface Configurer<org.apache.http.client.HttpClient>
Parameters:
config - the XML configuration
Returns:
the t


Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.