Class HttpConnectionOverHTTP2

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, Connection, org.eclipse.jetty.util.thread.Sweeper.Sweepable

    public class HttpConnectionOverHTTP2
    extends HttpConnection
    implements org.eclipse.jetty.util.thread.Sweeper.Sweepable
    • Constructor Detail

      • HttpConnectionOverHTTP2

        public HttpConnectionOverHTTP2​(HttpDestination destination,
                                       org.eclipse.jetty.http2.api.Session session)
    • Method Detail

      • getSession

        public org.eclipse.jetty.http2.api.Session getSession()
      • isRecycleHttpChannels

        public boolean isRecycleHttpChannels()
      • setRecycleHttpChannels

        public void setRecycleHttpChannels​(boolean recycleHttpChannels)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface Connection
      • close

        protected void close​(java.lang.Throwable failure)
      • sweep

        public boolean sweep()
        Specified by:
        sweep in interface org.eclipse.jetty.util.thread.Sweeper.Sweepable