Class ProxyConnectionFactory

All Implemented Interfaces:
ConnectionFactory, ConnectionFactory.Detecting, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle

public class ProxyConnectionFactory extends DetectorConnectionFactory

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:
  • Constructor Details

    • ProxyConnectionFactory

      public ProxyConnectionFactory()
    • ProxyConnectionFactory

      public ProxyConnectionFactory(String nextProtocol)
  • Method Details

    • getMaxProxyHeader

      public int getMaxProxyHeader()
    • setMaxProxyHeader

      public void setMaxProxyHeader(int maxProxyHeader)