Package org.eclipse.jetty.io
Interface ClientConnectionFactory
-
- All Known Subinterfaces:
HttpClientTransport
- All Known Implementing Classes:
AbstractConnectorHttpClientTransport,AbstractHttpClientTransport,HttpClientTransportOverHTTP,NegotiatingClientConnectionFactory,ProxyProtocolClientConnectionFactory,ProxyProtocolClientConnectionFactory.V1,ProxyProtocolClientConnectionFactory.V2,Socks4Proxy.Socks4ProxyClientConnectionFactory,SslClientConnectionFactory
@Deprecated(since="2021-05-27") public interface ClientConnectionFactory
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Factory for client-sideConnectioninstances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceClientConnectionFactory.DecoratorDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
Field Summary
Fields Modifier and Type Field Description static StringCONNECTOR_CONTEXT_KEYDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default Connectioncustomize(Connection connection, Map<String,Object> context)Deprecated.ConnectionnewConnection(EndPoint endPoint, Map<String,Object> context)Deprecated.
-
-
-
Field Detail
-
CONNECTOR_CONTEXT_KEY
static final String CONNECTOR_CONTEXT_KEY
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
newConnection
Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
Deprecated.- 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)
Deprecated.
-
-