- All Implemented Interfaces:
- org.apache.http.nio.NHttpConnectionFactory<org.apache.http.impl.nio.DefaultNHttpClientConnection>
- Direct Known Subclasses:
- SynapseNHttpSSLClientConnectionFactory
public class SynapseNHttpClientConnectionFactory
extends Object
implements org.apache.http.nio.NHttpConnectionFactory<org.apache.http.impl.nio.DefaultNHttpClientConnection>
A connection factory implementation for DefaultNHttpClientConnection instances.
Based on the current logging configuration, this factory decides whether to create
regular SynapseNHttpClientConnection objects or to create LoggingNHttpClientConnection
objects. Also, depending on the logging configuration, this factory may choose to
wrap IOSession instances in LoggingIOSession objects.