Class HttpReceiverOverHTTP2

  • All Implemented Interfaces:
    org.eclipse.jetty.http2.HTTP2Channel.Client

    public class HttpReceiverOverHTTP2
    extends org.eclipse.jetty.client.HttpReceiver
    implements org.eclipse.jetty.http2.HTTP2Channel.Client
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpReceiverOverHTTP2​(org.eclipse.jetty.client.HttpChannel channel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected HttpChannelOverHTTP2 getHttpChannel()  
      void onData​(org.eclipse.jetty.http2.frames.DataFrame frame, org.eclipse.jetty.util.Callback callback)  
      void onFailure​(java.lang.Throwable failure, org.eclipse.jetty.util.Callback callback)  
      boolean onTimeout​(java.lang.Throwable failure)  
      protected void receive()  
      protected void reset()  
      • Methods inherited from class org.eclipse.jetty.client.HttpReceiver

        abort, demand, dispose, getHttpDestination, getHttpExchange, hasDemandOrStall, isFailed, responseBegin, responseContent, responseFailure, responseHeader, responseHeaders, responseSuccess, storeCookie, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HttpReceiverOverHTTP2

        public HttpReceiverOverHTTP2​(org.eclipse.jetty.client.HttpChannel channel)
    • Method Detail

      • getHttpChannel

        protected HttpChannelOverHTTP2 getHttpChannel()
        Overrides:
        getHttpChannel in class org.eclipse.jetty.client.HttpReceiver
      • receive

        protected void receive()
        Overrides:
        receive in class org.eclipse.jetty.client.HttpReceiver
      • reset

        protected void reset()
        Overrides:
        reset in class org.eclipse.jetty.client.HttpReceiver
      • onData

        public void onData​(org.eclipse.jetty.http2.frames.DataFrame frame,
                           org.eclipse.jetty.util.Callback callback)
        Specified by:
        onData in interface org.eclipse.jetty.http2.HTTP2Channel.Client
      • onTimeout

        public boolean onTimeout​(java.lang.Throwable failure)
        Specified by:
        onTimeout in interface org.eclipse.jetty.http2.HTTP2Channel.Client
      • onFailure

        public void onFailure​(java.lang.Throwable failure,
                              org.eclipse.jetty.util.Callback callback)
        Specified by:
        onFailure in interface org.eclipse.jetty.http2.HTTP2Channel.Client