Class HTTP2Session.DataEntry

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

    private class HTTP2Session.DataEntry
    extends HTTP2Flusher.Entry
    • 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 dataBytes  
      private int dataRemaining  
      private int frameBytes  
      private int frameRemaining  
      • Fields inherited from interface org.eclipse.jetty.util.Callback

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

        __nonBlocking
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DataEntry​(DataFrame frame, IStream stream, org.eclipse.jetty.util.Callback callback)  
    • Field Detail

      • frameBytes

        private int frameBytes
      • frameRemaining

        private int frameRemaining
      • dataBytes

        private int dataBytes
      • dataRemaining

        private int dataRemaining
    • Constructor Detail

      • DataEntry

        private DataEntry​(DataFrame frame,
                          IStream stream,
                          org.eclipse.jetty.util.Callback callback)
    • Method Detail

      • generate

        protected boolean generate​(org.eclipse.jetty.io.ByteBufferPool.Lease lease)
        Specified by:
        generate in class HTTP2Flusher.Entry
      • onFlushed

        public long onFlushed​(long bytes)
                       throws java.io.IOException
        Specified by:
        onFlushed in class HTTP2Flusher.Entry
        Throws:
        java.io.IOException
      • succeeded

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