Package org.eclipse.jetty.http2.server
Class AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer
java.lang.Object
org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer
- All Implemented Interfaces:
org.eclipse.jetty.io.Connection.Listener
,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
AbstractHTTP2ServerConnectionFactory
@ManagedObject("The container of HTTP/2 sessions")
public static class AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer
extends Object
implements org.eclipse.jetty.io.Connection.Listener, org.eclipse.jetty.util.component.Dumpable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection.Listener
org.eclipse.jetty.io.Connection.Listener.Adapter
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer
-
Field Summary
FieldsFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY
-
Constructor Summary
Constructors -
Method Summary
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.Dumpable
dumpSelf
-
Field Details
-
sessions
-
-
Constructor Details
-
HTTP2SessionContainer
public HTTP2SessionContainer()
-
-
Method Details
-
onOpened
public void onOpened(org.eclipse.jetty.io.Connection connection) - Specified by:
onOpened
in interfaceorg.eclipse.jetty.io.Connection.Listener
-
onClosed
public void onClosed(org.eclipse.jetty.io.Connection connection) - Specified by:
onClosed
in interfaceorg.eclipse.jetty.io.Connection.Listener
-
getSessions
-
getSize
@ManagedAttribute(value="The number of HTTP/2 sessions", readonly=true) public int getSize() -
dump
- Specified by:
dump
in interfaceorg.eclipse.jetty.util.component.Dumpable
-
dump
- Specified by:
dump
in interfaceorg.eclipse.jetty.util.component.Dumpable
- Throws:
IOException
-
toString
-