org.jboss.soa.esb.http.configurators
Class Connection

java.lang.Object
  extended by org.jboss.soa.esb.http.Configurator
      extended by org.jboss.soa.esb.http.configurators.Connection

public class Connection
extends Configurator

HTTP Connection configurator.

This Configurator is always applied to HttpClient instances created by the HttpClientFactory. Of course, if you wish to make the connection configurations in a different way, you can always create a custom Configurator that creates and attches a different HttpConnectionManager instance that has differnt configurations.

Properties:

Author:
tom.fennelly@jboss.com

Field Summary
static java.lang.String MAX_CONNECTIONS_PER_HOST
          Max connections per host.
static java.lang.String MAX_TOTAL_CONNECTIONS
          Max total connections.
 
Constructor Summary
Connection()
           
 
Method Summary
 void configure(org.apache.commons.httpclient.HttpClient httpClient, java.util.Properties properties)
           
 
Methods inherited from class org.jboss.soa.esb.http.Configurator
assertPropertyIsInteger, assertPropertySetAndNotBlank, getPasswordFromFile, getTargetURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_TOTAL_CONNECTIONS

public static final java.lang.String MAX_TOTAL_CONNECTIONS
Max total connections.

See Also:
Constant Field Values

MAX_CONNECTIONS_PER_HOST

public static final java.lang.String MAX_CONNECTIONS_PER_HOST
Max connections per host.

See Also:
Constant Field Values
Constructor Detail

Connection

public Connection()
Method Detail

configure

public void configure(org.apache.commons.httpclient.HttpClient httpClient,
                      java.util.Properties properties)
               throws ConfigurationException
Specified by:
configure in class Configurator
Throws:
ConfigurationException