Class 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 Detail

      • HTTP2SessionContainer

        public HTTP2SessionContainer()
    • Method Detail

      • onOpened

        public void onOpened​(org.eclipse.jetty.io.Connection connection)
        Specified by:
        onOpened in interface org.eclipse.jetty.io.Connection.Listener
      • onClosed

        public void onClosed​(org.eclipse.jetty.io.Connection connection)
        Specified by:
        onClosed in interface org.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:
        dump in interface org.eclipse.jetty.util.component.Dumpable