java.lang.Object
org.eclipse.jetty.client.HttpReceiver
org.eclipse.jetty.http2.client.http.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

    Modifier and Type
    Method
    Description
     
    void
    onData(org.eclipse.jetty.http2.frames.DataFrame frame, org.eclipse.jetty.util.Callback callback)
     
    void
    onFailure(Throwable failure, org.eclipse.jetty.util.Callback callback)
     
    boolean
     
    protected void
     
    protected void
     

    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 Details

    • HttpReceiverOverHTTP2

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

    • 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(Throwable failure)
      Specified by:
      onTimeout in interface org.eclipse.jetty.http2.HTTP2Channel.Client
    • onFailure

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