- 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.static classA holder for a list of protocol strings identifying an application protocol (for example["h2", "h2-17", "h2-16"]) and aClientConnectionFactorythat creates connections that speak that network protocol. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Connectioncustomize(Connection connection, Map<String, Object> context) newConnection(EndPoint endPoint, Map<String, Object> context)
-
Field Details
-
CLIENT_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
-