Package org.eclipse.jetty.io
Interface ClientConnectionFactory
- All Known Subinterfaces:
HttpClientTransport
- All Known Implementing Classes:
AbstractConnectorHttpClientTransport,AbstractHttpClientTransport,HttpClientTransportOverHTTP,HttpProxy.HttpProxyClientConnectionFactory,NegotiatingClientConnectionFactory,ProxyProtocolClientConnectionFactory,ProxyProtocolClientConnectionFactory.V1,ProxyProtocolClientConnectionFactory.V2,Socks4Proxy.Socks4ProxyClientConnectionFactory,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
-