Class HTTP2Session.DataCallback

  • All Implemented Interfaces:
    org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable
    Enclosing class:
    HTTP2Session

    private class HTTP2Session.DataCallback
    extends org.eclipse.jetty.util.Callback.Nested
    • Nested Class Summary

      • 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 
      Modifier and Type Field Description
      private int flowControlLength  
      private IStream stream  
      • Fields inherited from interface org.eclipse.jetty.util.Callback

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

        __nonBlocking
    • Constructor Summary

      Constructors 
      Constructor Description
      DataCallback​(org.eclipse.jetty.util.Callback callback, IStream stream, int flowControlLength)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void complete()  
      void failed​(java.lang.Throwable x)  
      void succeeded()  
      • Methods inherited from class org.eclipse.jetty.util.Callback.Nested

        getCallback, getInvocationType
      • Methods inherited from class org.eclipse.jetty.util.Callback.Completing

        completed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • stream

        private final IStream stream
      • flowControlLength

        private final int flowControlLength
    • Constructor Detail

      • DataCallback

        public DataCallback​(org.eclipse.jetty.util.Callback callback,
                            IStream stream,
                            int flowControlLength)
    • Method Detail

      • succeeded

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

        public void failed​(java.lang.Throwable x)
        Specified by:
        failed in interface org.eclipse.jetty.util.Callback
        Overrides:
        failed in class org.eclipse.jetty.util.Callback.Nested
      • complete

        private void complete()