Class HttpReceiverOverHTTP2

  • All Implemented Interfaces:
    org.eclipse.jetty.http2.api.Stream.Listener

    public class HttpReceiverOverHTTP2
    extends HttpReceiver
    implements org.eclipse.jetty.http2.api.Stream.Listener
    • Constructor Detail

      • HttpReceiverOverHTTP2

        public HttpReceiverOverHTTP2​(HttpChannel channel)
    • Method Detail

      • onHeaders

        public void onHeaders​(org.eclipse.jetty.http2.api.Stream stream,
                              org.eclipse.jetty.http2.frames.HeadersFrame frame)
        Specified by:
        onHeaders in interface org.eclipse.jetty.http2.api.Stream.Listener
      • onPush

        public org.eclipse.jetty.http2.api.Stream.Listener onPush​(org.eclipse.jetty.http2.api.Stream stream,
                                                                  org.eclipse.jetty.http2.frames.PushPromiseFrame frame)
        Specified by:
        onPush in interface org.eclipse.jetty.http2.api.Stream.Listener
      • onData

        public void onData​(org.eclipse.jetty.http2.api.Stream stream,
                           org.eclipse.jetty.http2.frames.DataFrame frame,
                           org.eclipse.jetty.util.Callback callback)
        Specified by:
        onData in interface org.eclipse.jetty.http2.api.Stream.Listener
      • onReset

        public void onReset​(org.eclipse.jetty.http2.api.Stream stream,
                            org.eclipse.jetty.http2.frames.ResetFrame frame)
        Specified by:
        onReset in interface org.eclipse.jetty.http2.api.Stream.Listener
      • onIdleTimeout

        public boolean onIdleTimeout​(org.eclipse.jetty.http2.api.Stream stream,
                                     java.lang.Throwable x)
        Specified by:
        onIdleTimeout in interface org.eclipse.jetty.http2.api.Stream.Listener
      • onFailure

        public void onFailure​(org.eclipse.jetty.http2.api.Stream stream,
                              int error,
                              java.lang.String reason,
                              org.eclipse.jetty.util.Callback callback)
        Specified by:
        onFailure in interface org.eclipse.jetty.http2.api.Stream.Listener
      • onClosed

        public void onClosed​(org.eclipse.jetty.http2.api.Stream stream)
        Specified by:
        onClosed in interface org.eclipse.jetty.http2.api.Stream.Listener