java.lang.Object
org.eclipse.jetty.io.ClientConnectionFactory.Wrapper
- All Implemented Interfaces:
ClientConnectionFactory
- Direct Known Subclasses:
NegotiatingClientConnectionFactory,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:
newConnectionin interfaceClientConnectionFactory- Parameters:
endPoint- theEndPointto 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:
customizein interfaceClientConnectionFactory
-