ConnectionFactorypublic class ProxyConnectionFactory extends AbstractConnectionFactory
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 | Description |
|---|---|---|
static class |
ProxyConnectionFactory.ProxyEndPoint |
|
static class |
ProxyConnectionFactory.ProxyProtocolV1Connection |
|
class |
ProxyConnectionFactory.ProxyProtocolV1orV2Connection |
|
class |
ProxyConnectionFactory.ProxyProtocolV2Connection |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Upgrading| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
TLS_VERSION |
| Constructor | Description |
|---|---|
ProxyConnectionFactory() |
Proxy Connection Factory that uses the next ConnectionFactory
on the connector as the next protocol
|
ProxyConnectionFactory(java.lang.String nextProtocol) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getMaxProxyHeader() |
|
org.eclipse.jetty.io.Connection |
newConnection(Connector connector,
org.eclipse.jetty.io.EndPoint endp) |
Creates a new
Connection with the given parameters |
void |
setMaxProxyHeader(int maxProxyHeader) |
configure, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toStringaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeanspublic static final java.lang.String TLS_VERSION
public ProxyConnectionFactory()
public ProxyConnectionFactory(java.lang.String nextProtocol)
public int getMaxProxyHeader()
public void setMaxProxyHeader(int maxProxyHeader)
public org.eclipse.jetty.io.Connection newConnection(Connector connector, org.eclipse.jetty.io.EndPoint endp)
ConnectionFactoryCreates a new Connection with the given parameters
connector - The Connector creating this connectionendp - the EndPoint associated with the connectionConnectionCopyright © 1995–2018 Webtide. All rights reserved.