Class ProxyProtocolClientConnectionFactory
java.lang.Object
org.eclipse.jetty.io.ClientConnectionFactory.Wrapper
org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory
- All Implemented Interfaces:
ClientConnectionFactory
- Direct Known Subclasses:
ProxyProtocolClientConnectionFactory.V1
,ProxyProtocolClientConnectionFactory.V2
ClientConnectionFactory for the PROXY protocol.
Use the ProxyProtocolClientConnectionFactory.V1
or ProxyProtocolClientConnectionFactory.V2
versions of this class to specify what version of the
PROXY protocol you want to use.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
static class
A ClientConnectionFactory for the PROXY protocol version 1.static class
A ClientConnectionFactory for the PROXY protocol version 2.Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator, ClientConnectionFactory.Info, ClientConnectionFactory.Wrapper
-
Field Summary
Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CONTEXT_KEY
-
Method Summary
Modifier and TypeMethodDescriptionnewConnection
(EndPoint endPoint, Map<String, Object> context) protected abstract ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
newProxyProtocolConnection
(EndPoint endPoint, Map<String, Object> context) Methods inherited from class org.eclipse.jetty.io.ClientConnectionFactory.Wrapper
customize, getWrapped
-
Method Details
-
newConnection
- Specified by:
newConnection
in interfaceClientConnectionFactory
- Overrides:
newConnection
in classClientConnectionFactory.Wrapper
- Parameters:
endPoint
- theEndPoint
to link the newly created connection tocontext
- the context data to create the connection- Returns:
- a new
Connection
-
newProxyProtocolConnection
protected abstract ProxyProtocolClientConnectionFactory.ProxyProtocolConnection newProxyProtocolConnection(EndPoint endPoint, Map<String, Object> context)
-