ConnectionFactory
public class ProxyConnectionFactory extends AbstractConnectionFactory
This factory can be placed in front of any other connection factory to process the proxy line before the normal protocol handling
Modifier and Type | Class | Description |
---|---|---|
static class |
ProxyConnectionFactory.ProxyConnection |
|
static class |
ProxyConnectionFactory.ProxyEndPoint |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
ConnectionFactory.Upgrading
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 |
---|---|---|
org.eclipse.jetty.io.Connection |
newConnection(Connector connector,
org.eclipse.jetty.io.EndPoint endp) |
Creates a new
Connection with the given parameters |
configure, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toString
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
public ProxyConnectionFactory()
public ProxyConnectionFactory(java.lang.String nextProtocol)
public org.eclipse.jetty.io.Connection newConnection(Connector connector, org.eclipse.jetty.io.EndPoint endp)
ConnectionFactory
Creates a new Connection
with the given parameters
connector
- The Connector
creating this connectionendp
- the EndPoint
associated with the connectionConnection
Copyright © 1995–2018 Webtide. All rights reserved.