Class HTTP2Flusher

java.lang.Object
org.eclipse.jetty.util.IteratingCallback
org.eclipse.jetty.http2.HTTP2Flusher
All Implemented Interfaces:
org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.thread.Invocable

public class HTTP2Flusher extends org.eclipse.jetty.util.IteratingCallback implements org.eclipse.jetty.util.component.Dumpable
  • Field Details

  • Constructor Details

  • Method Details

    • getInvocationType

      public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()
      Specified by:
      getInvocationType in interface org.eclipse.jetty.util.thread.Invocable
    • window

      public void window(IStream stream, WindowUpdateFrame frame)
    • prepend

      public boolean prepend(HTTP2Flusher.Entry entry)
    • append

      public boolean append(HTTP2Flusher.Entry entry)
    • append

      public boolean append(List<HTTP2Flusher.Entry> list)
    • getWindowQueueSize

      private int getWindowQueueSize()
    • getFrameQueueSize

      public int getFrameQueueSize()
    • process

      protected org.eclipse.jetty.util.IteratingCallback.Action process() throws Throwable
      Specified by:
      process in class org.eclipse.jetty.util.IteratingCallback
      Throws:
      Throwable
    • onFlushed

      void onFlushed(long bytes) throws IOException
      Throws:
      IOException
    • succeeded

      public void succeeded()
      Specified by:
      succeeded in interface org.eclipse.jetty.util.Callback
      Overrides:
      succeeded in class org.eclipse.jetty.util.IteratingCallback
    • finish

      private void finish()
    • onCompleteSuccess

      protected void onCompleteSuccess()
      Overrides:
      onCompleteSuccess in class org.eclipse.jetty.util.IteratingCallback
    • onCompleteFailure

      protected void onCompleteFailure(Throwable x)
      Overrides:
      onCompleteFailure in class org.eclipse.jetty.util.IteratingCallback
    • terminate

      void terminate(Throwable cause)
    • closed

      private void closed(HTTP2Flusher.Entry entry, Throwable failure)
    • dump

      public String dump()
      Specified by:
      dump in interface org.eclipse.jetty.util.component.Dumpable
    • dump

      public void dump(Appendable out, String indent) throws IOException
      Specified by:
      dump in interface org.eclipse.jetty.util.component.Dumpable
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class org.eclipse.jetty.util.IteratingCallback