Class HttpChannelOverHTTP2

    • Method Detail

      • getStream

        protected IStream getStream()
      • onFlushed

        public void onFlushed​(long bytes)
                       throws java.io.IOException
        Specified by:
        onFlushed in interface org.eclipse.jetty.io.WriteFlusher.Listener
        Throws:
        java.io.IOException
      • onRequest

        public java.lang.Runnable onRequest​(HeadersFrame frame)
      • onPushRequest

        public java.lang.Runnable onPushRequest​(org.eclipse.jetty.http.MetaData.Request request)
      • commit

        protected void commit​(org.eclipse.jetty.http.MetaData.Response info)
        Overrides:
        commit in class HttpChannel
      • onRequestContent

        public java.lang.Runnable onRequestContent​(DataFrame frame,
                                                   org.eclipse.jetty.util.Callback callback)
      • onRequestTrailers

        public java.lang.Runnable onRequestTrailers​(HeadersFrame frame)
      • isRequestIdle

        public boolean isRequestIdle()
      • onStreamTimeout

        public boolean onStreamTimeout​(java.lang.Throwable failure,
                                       java.util.function.Consumer<java.lang.Runnable> consumer)
      • onFailure

        public java.lang.Runnable onFailure​(java.lang.Throwable failure,
                                            org.eclipse.jetty.util.Callback callback)
      • consumeInput

        protected void consumeInput()
      • continue100

        public void continue100​(int available)
                         throws java.io.IOException
        If the associated response has the Expect header set to 100 Continue, then accessing the input stream indicates that the handler/servlet is ready for the request body and thus a 100 Continue response is sent.
        Overrides:
        continue100 in class HttpChannel
        Throws:
        java.io.IOException - if the InputStream cannot be created
      • close

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