Interface ClientConnectionFactory
- All Known Subinterfaces:
 HttpClientTransport
- All Known Implementing Classes:
 AbstractConnectorHttpClientTransport, AbstractHttpClientTransport, ALPNClientConnectionFactory, ClientConnectionFactory.Wrapper, ClientConnectionFactoryOverHTTP2, ClientConnectionFactoryOverHTTP3, HTTP2ClientConnectionFactory, HTTP3ClientConnectionFactory, HttpClientConnectionFactory, HttpClientTransportDynamic, HttpClientTransportOverFCGI, HttpClientTransportOverHTTP, HttpClientTransportOverHTTP2, HttpClientTransportOverHTTP3, NegotiatingClientConnectionFactory, ProxyProtocolClientConnectionFactory, ProxyProtocolClientConnectionFactory.V1, ProxyProtocolClientConnectionFactory.V2, QuicheClientConnectionFactory, Socks4Proxy.Socks4ProxyClientConnectionFactory, SslClientConnectionFactory
public interface ClientConnectionFactory
Factory for client-side 
Connection instances.- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceWraps another ClientConnectionFactory.static classA holder for a list of protocol strings identifiers (for example["h2", "h2-17", "h2-16"]) and aClientConnectionFactorythat creates connections that speak an application protocol such as HTTP.static class - 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptiondefault Connectioncustomize(Connection connection, Map<String, Object> context) newConnection(EndPoint endPoint, Map<String, Object> context)  
- 
Field Details
- 
CONTEXT_KEY
 
 - 
 - 
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
 
 -