Package org.eclipse.jetty.client
Class HttpProxy.HttpProxyClientConnectionFactory
java.lang.Object
org.eclipse.jetty.client.HttpProxy.HttpProxyClientConnectionFactory
- All Implemented Interfaces:
ClientConnectionFactory
- Enclosing class:
- HttpProxy
private static class HttpProxy.HttpProxyClientConnectionFactory
extends Object
implements ClientConnectionFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator
-
Field Summary
FieldsFields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CONNECTOR_CONTEXT_KEY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
HttpProxyClientConnectionFactory
(ClientConnectionFactory connectionFactory) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
customize
-
Field Details
-
connectionFactory
-
-
Constructor Details
-
HttpProxyClientConnectionFactory
-
-
Method Details
-
newConnection
- Specified by:
newConnection
in interfaceClientConnectionFactory
- Parameters:
endPoint
- theEndPoint
to link the newly created connection tocontext
- the context data to create the connection- Returns:
- a new
Connection
- Throws:
IOException
- if the connection cannot be created
-