Package org.eclipse.jetty.io
Interface ClientConnectionFactory
- All Known Implementing Classes:
NegotiatingClientConnectionFactory,SslClientConnectionFactory
public interface ClientConnectionFactory
Factory for client-side
Connection instances.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceWraps another ClientConnectionFactory. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Connectioncustomize(Connection connection, Map<String, Object> context) newConnection(EndPoint endPoint, Map<String, Object> context)
-
Field Details
-
CONNECTOR_CONTEXT_KEY
- See Also:
-
-
Method Details
-
newConnection
- 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
-