Package org.eclipse.jetty.http2.server
Class AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer
- All Implemented Interfaces:
EventListener,org.eclipse.jetty.io.Connection.Listener,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Graceful,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
AbstractHTTP2ServerConnectionFactory
@ManagedObject("The container of HTTP/2 sessions")
public static class AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements org.eclipse.jetty.io.Connection.Listener, org.eclipse.jetty.util.component.Graceful, org.eclipse.jetty.util.component.Dumpable
-
Nested Class Summary
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.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Graceful
org.eclipse.jetty.util.component.Graceful.Shutdown, org.eclipse.jetty.util.component.Graceful.ThrowingRunnableNested 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.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, doStart, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dumpSelf
-
Constructor Details
-
HTTP2SessionContainer
public HTTP2SessionContainer()
-
-
Method Details
-
onOpened
public void onOpened(org.eclipse.jetty.io.Connection connection) - Specified by:
onOpenedin interfaceorg.eclipse.jetty.io.Connection.Listener
-
onClosed
public void onClosed(org.eclipse.jetty.io.Connection connection) - Specified by:
onClosedin interfaceorg.eclipse.jetty.io.Connection.Listener
-
getSessions
-
getSize
@ManagedAttribute(value="The number of HTTP/2 sessions", readonly=true) public int getSize() -
shutdown
- Specified by:
shutdownin interfaceorg.eclipse.jetty.util.component.Graceful
-
isShutdown
public boolean isShutdown()- Specified by:
isShutdownin interfaceorg.eclipse.jetty.util.component.Graceful
-
dump
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable
-
dump
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable- Throws:
IOException
-
toString
- Overrides:
toStringin classorg.eclipse.jetty.util.component.AbstractLifeCycle
-