Class 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  HTTP2Flusher.Entry  
      • 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.thread.Invocable

        org.eclipse.jetty.util.thread.Invocable.InvocationType
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean append​(HTTP2Flusher.Entry entry)  
      java.lang.String dump()  
      void dump​(java.lang.Appendable out, java.lang.String indent)  
      int getFrameQueueSize()  
      protected void onCompleteFailure​(java.lang.Throwable x)  
      protected void onCompleteSuccess()  
      boolean prepend​(HTTP2Flusher.Entry entry)  
      protected org.eclipse.jetty.util.IteratingCallback.Action process()  
      void succeeded()  
      java.lang.String toString()  
      void window​(IStream stream, WindowUpdateFrame frame)  
      • 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.component.Dumpable

        dumpSelf
      • Methods inherited from interface org.eclipse.jetty.util.thread.Invocable

        getInvocationType
    • Constructor Detail

      • HTTP2Flusher

        public HTTP2Flusher​(HTTP2Session session)
    • Method Detail

      • getFrameQueueSize

        public int getFrameQueueSize()
      • process

        protected org.eclipse.jetty.util.IteratingCallback.Action process()
                                                                   throws java.lang.Throwable
        Specified by:
        process in class org.eclipse.jetty.util.IteratingCallback
        Throws:
        java.lang.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​(java.lang.Throwable x)
        Overrides:
        onCompleteFailure in class org.eclipse.jetty.util.IteratingCallback
      • dump

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

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

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