private class HttpProxy.HttpProxyClientConnectionFactory extends java.lang.Object implements ClientConnectionFactory
| Modifier and Type | Field and Description |
|---|---|
private ClientConnectionFactory |
connectionFactory |
CONNECTOR_CONTEXT_KEY| Modifier | Constructor and Description |
|---|---|
private |
HttpProxyClientConnectionFactory(ClientConnectionFactory connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomizeprivate final ClientConnectionFactory connectionFactory
private HttpProxyClientConnectionFactory(ClientConnectionFactory connectionFactory)
public Connection newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context) throws java.io.IOException
newConnection in interface ClientConnectionFactoryendPoint - the EndPoint to link the newly created connection tocontext - the context data to create the connectionConnectionjava.io.IOException - if the connection cannot be created