Top Description Inners Fields Constructors Methods
org.eclipse.jetty.client

public abstract Class ProxyProtocolClientConnectionFactory

extends Object
implements ClientConnectionFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.io.ClientConnectionFactory
Known Direct Subclasses
org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory.V1, org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory.V2
Imports
java.net.Inet4Address, .InetAddress, .InetSocketAddress, .SocketAddress, java.nio.ByteBuffer, java.nio.charset.StandardCharsets, java.util.Arrays, .List, .Locale, .Map, .Objects, java.util.concurrent.Executor, org.eclipse.jetty.client.transport.HttpDestination, org.eclipse.jetty.io.AbstractConnection, .ClientConnectionFactory, .Connection, .EndPoint, org.eclipse.jetty.util.Callback, .Promise, org.slf4j.Logger, .LoggerFactory

ClientConnectionFactory for the PROXY protocol.

Use the V1 or V2 versions of this class to specify what version of the PROXY protocol you want to use.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected abstract static class
private static class
private static class
public static class
ProxyProtocolClientConnectionFactory.V1

A ClientConnectionFactory for the PROXY protocol version 1.

public static class
ProxyProtocolClientConnectionFactory.V2

A ClientConnectionFactory for the PROXY protocol version 2.

Field Summary

Modifier and TypeField and Description
private final ClientConnectionFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ClientConnectionFactory
public Connection
newConnection(EndPoint
the org.eclipse.jetty.io.EndPoint to link the newly created connection to
endPoint
,
Map<String, Object>
the context data to create the connection
context
)

Implements org.eclipse.jetty.io.ClientConnectionFactory.newConnection.

protected abstract ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait