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-sideConnection
instances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ClientConnectionFactory.Decorator
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONNECTOR_CONTEXT_KEY
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default Connection
customize(Connection connection, java.util.Map<java.lang.String,java.lang.Object> context)
Deprecated.Connection
newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context)
Deprecated.
-
-
-
Field Detail
-
CONNECTOR_CONTEXT_KEY
static final java.lang.String CONNECTOR_CONTEXT_KEY
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
newConnection
Connection newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context) throws java.io.IOException
Deprecated.- Parameters:
endPoint
- theEndPoint
to link the newly created connection tocontext
- the context data to create the connection- Returns:
- a new
Connection
- Throws:
java.io.IOException
- if the connection cannot be created
-
customize
default Connection customize(Connection connection, java.util.Map<java.lang.String,java.lang.Object> context)
Deprecated.
-
-