java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.io.SelectorManager
org.eclipse.jetty.proxy.ConnectHandler.ConnectManager
- All Implemented Interfaces:
org.eclipse.jetty.util.component.Container
,org.eclipse.jetty.util.component.Destroyable
,org.eclipse.jetty.util.component.Dumpable
,org.eclipse.jetty.util.component.Dumpable.DumpableContainer
,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
- ConnectHandler
protected class ConnectHandler.ConnectManager
extends org.eclipse.jetty.io.SelectorManager
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.io.SelectorManager
org.eclipse.jetty.io.SelectorManager.AcceptListener, org.eclipse.jetty.io.SelectorManager.SelectorManagerListener
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener
-
Field Summary
Fields inherited from class org.eclipse.jetty.io.SelectorManager
DEFAULT_CONNECT_TIMEOUT, LOG
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPING
Fields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConnectManager
(Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
connectionFailed
(SelectableChannel channel, Throwable ex, Object attachment) org.eclipse.jetty.io.Connection
newConnection
(SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, Object attachment) protected org.eclipse.jetty.io.EndPoint
newEndPoint
(SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, SelectionKey key) Methods inherited from class org.eclipse.jetty.io.SelectorManager
accept, accept, accepted, acceptor, addEventListener, connect, connectionClosed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, endPointClosed, endPointOpened, execute, getConnectTimeout, getExecutor, getScheduler, getSelectorCount, isConnectionPending, newSelector, newSelector, onAccepted, onAcceptFailed, onAccepting, removeEventListener, setConnectTimeout
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addManaged, contains, destroy, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeans
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListeners
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dump, dumpSelf
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
ConnectManager
protected ConnectManager(Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors)
-
-
Method Details
-
newEndPoint
protected org.eclipse.jetty.io.EndPoint newEndPoint(SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, SelectionKey key) - Specified by:
newEndPoint
in classorg.eclipse.jetty.io.SelectorManager
-
newConnection
public org.eclipse.jetty.io.Connection newConnection(SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, Object attachment) throws IOException - Specified by:
newConnection
in classorg.eclipse.jetty.io.SelectorManager
- Throws:
IOException
-
connectionFailed
- Overrides:
connectionFailed
in classorg.eclipse.jetty.io.SelectorManager
-