Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.soa.esb.http.protocol
Interface ProtocolSocketFactoryBuilder

All Known Implementing Classes:
  AbstractProtocolSocketFactoryBuilder, AuthSSLProtocolSocketFactoryBuilder, SelfSignedSSLProtocolSocketFactoryBuilder

    public interface ProtocolSocketFactoryBuilder

`ProtocolSocketFactory` Builder.

This builder is needed because some of the HttpClient ProtocolSocketFactory are not easily created and configured reflectively.

Implementations must provide a default (no-arg) constructor.

Author:
  tom.fennelly@jboss.com

Method Summary
`org.apache.commons.httpclient.protocol.ProtocolSocketFactory` | `newInstance()` Create a new instance of the `ProtocolSocketFactory` based on the supplied `HttpClientFactory` configuration.
`void` | `setConfiguration(java.util.Properties configuration)` Set the builder configuration.

Method Detail

### setConfiguration

    void setConfiguration(java.util.Properties configuration)
                          throws ConfigurationException

  Set the builder configuration.

  Parameters:
    `configuration` - The configuration.
  Throws:
    `ConfigurationException` - Bad configuration.

### newInstance

    org.apache.commons.httpclient.protocol.ProtocolSocketFactory newInstance()
                                                                             throws ConfigurationException

  Create a new instance of the `ProtocolSocketFactory` based on the supplied `HttpClientFactory` configuration.

  Returns:
    The configured ProtocolSocketFactory implementation.
  Throws:
    `ConfigurationException` - Bad configuration.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD