Class ClientConnectionFactory.Wrapper
java.lang.Object
org.eclipse.jetty.io.ClientConnectionFactory.Wrapper
- All Implemented Interfaces:
ClientConnectionFactory
- Direct Known Subclasses:
NegotiatingClientConnectionFactory
,ProxyProtocolClientConnectionFactory
,QuicheClientConnectionFactory
,Socks4Proxy.Socks4ProxyClientConnectionFactory
,SslClientConnectionFactory
- Enclosing interface:
ClientConnectionFactory
public static class ClientConnectionFactory.Wrapper
extends Object
implements ClientConnectionFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator, ClientConnectionFactory.Info, ClientConnectionFactory.Wrapper
-
Field Summary
Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CONTEXT_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomize
(Connection connection, Map<String, Object> context) newConnection
(EndPoint endPoint, Map<String, Object> context)
-
Constructor Details
-
Wrapper
-
-
Method Details
-
getWrapped
-
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
-
customize
- Specified by:
customize
in interfaceClientConnectionFactory
-