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
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyConnectionFactory.ProxyEndPoint |
private static class |
ProxyConnectionFactory.ProxyV1ConnectionFactory |
private static class |
ProxyConnectionFactory.ProxyV2ConnectionFactory |
AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Detecting.DetectionConnectionFactory.Detecting, ConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Modifier and Type | Field and Description |
|---|---|
private static Logger |
LOG |
static java.lang.String |
TLS_VERSION |
| Constructor and Description |
|---|
ProxyConnectionFactory() |
ProxyConnectionFactory(java.lang.String nextProtocol) |
| Modifier and Type | Method and Description |
|---|---|
private static ConnectionFactory |
findNextConnectionFactory(java.lang.String nextProtocol,
Connector connector,
java.lang.String currentProtocol,
EndPoint endp) |
int |
getMaxProxyHeader() |
void |
setMaxProxyHeader(int maxProxyHeader) |
detect, newConnection, nextProtocol, upgradeToConnectionFactoryconfigure, findNextProtocol, findNextProtocol, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toStringaddBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProtocol, getProtocolsdumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, namedpublic static final java.lang.String TLS_VERSION
private static final Logger LOG
public ProxyConnectionFactory()
public ProxyConnectionFactory(java.lang.String nextProtocol)
private static ConnectionFactory findNextConnectionFactory(java.lang.String nextProtocol, Connector connector, java.lang.String currentProtocol, EndPoint endp)
public int getMaxProxyHeader()
public void setMaxProxyHeader(int maxProxyHeader)