Package org.eclipse.jetty.io
Interface ClientConnectionFactory
-
- All Known Implementing Classes:
NegotiatingClientConnectionFactory,SslClientConnectionFactory
public interface ClientConnectionFactoryFactory for client-sideConnectioninstances.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONNECTOR_CONTEXT_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Connectioncustomize(Connection connection, Map<String,Object> context)ConnectionnewConnection(EndPoint endPoint, Map<String,Object> context)
-
-
-
Field Detail
-
CONNECTOR_CONTEXT_KEY
static final String CONNECTOR_CONTEXT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
newConnection
Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
- 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
default Connection customize(Connection connection, Map<String,Object> context)
-
-