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

public Class ProxyConnectionFactory

extends DetectorConnectionFactory
Class Inheritance
Imports
java.io.IOException, java.net.Inet4Address, .Inet6Address, .InetAddress, .InetSocketAddress, .SocketAddress, java.nio.ByteBuffer, java.nio.channels.ReadPendingException, .WritePendingException, java.nio.charset.StandardCharsets, java.util.HashMap, .Map, org.eclipse.jetty.io.AbstractConnection, .Connection, .EndPoint, .RetainableByteBuffer, org.eclipse.jetty.util.BufferUtil, .Callback, .StringUtil, org.slf4j.Logger, .LoggerFactory

ConnectionFactory for the PROXY Protocol.

This factory can be placed in front of any other connection factory to process the proxy v1 or v2 line before the normal protocol handling

See Also
PROXY protocol

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
private static ConnectionFactory
findNextConnectionFactory(String nextProtocol, Connector connector, String currentProtocol, EndPoint endp)

public int
public void
setMaxProxyHeader(int maxProxyHeader)

Inherited from org.eclipse.jetty.server.DetectorConnectionFactory:
detectnewConnectionnextProtocolupgradeToConnectionFactory