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
-
-
Constructor Summary
Constructors Constructor Description HTTP2SessionContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdump()voiddump(Appendable out, String indent)Set<org.eclipse.jetty.http2.api.Session>getSessions()intgetSize()voidonClosed(org.eclipse.jetty.io.Connection connection)voidonOpened(org.eclipse.jetty.io.Connection connection)StringtoString()
-
-
-
Method Detail
-
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
public Set<org.eclipse.jetty.http2.api.Session> getSessions()
-
getSize
@ManagedAttribute(value="The number of HTTP/2 sessions", readonly=true) public int getSize()
-
dump
public String dump()
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable
-
dump
public void dump(Appendable out, String indent) throws IOException
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable- Throws:
IOException
-
-