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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.IteratingCallback

    org.eclipse.jetty.util.IteratingCallback.Action

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

    org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

    org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

    org.eclipse.jetty.util.thread.Invocable.InvocationType, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.Task
  • Field Summary

    Fields inherited from interface org.eclipse.jetty.util.Callback

    NOOP

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY

    Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

    __nonBlocking
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
     
    void
    dump(Appendable out, String indent)
     
    int
     
    org.eclipse.jetty.util.thread.Invocable.InvocationType
     
    protected void
     
    protected void
     
    boolean
     
    protected org.eclipse.jetty.util.IteratingCallback.Action
     
    void
     
     
    void
     

    Methods inherited from class org.eclipse.jetty.util.IteratingCallback

    close, failed, isClosed, isFailed, isSucceeded, iterate, reset

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.Callback

    completeWith

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

    dumpSelf
  • 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)
    • 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
    • succeeded

      public void succeeded()
      Specified by:
      succeeded in interface org.eclipse.jetty.util.Callback
      Overrides:
      succeeded in class org.eclipse.jetty.util.IteratingCallback
    • 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
    • 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