Class HTTP2Flusher.Entry

java.lang.Object
org.eclipse.jetty.util.Callback.Completing
org.eclipse.jetty.util.Callback.Nested
org.eclipse.jetty.http2.HTTP2Flusher.Entry
All Implemented Interfaces:
org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable
Enclosing class:
HTTP2Flusher

public abstract static class HTTP2Flusher.Entry 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, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.Task
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Frame
     
    protected final IStream
     

    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
    protected
    Entry(Frame frame, IStream stream, org.eclipse.jetty.util.Callback callback)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected abstract boolean
    generate(org.eclipse.jetty.io.ByteBufferPool.Lease lease)
     
    int
     
    abstract int
     
    abstract long
    onFlushed(long bytes)
     
     

    Methods inherited from class org.eclipse.jetty.util.Callback.Nested

    getCallback, getInvocationType, succeeded

    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, wait, wait, wait

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

    completeWith
  • Field Details

    • frame

      protected final Frame frame
    • stream

      protected final IStream stream
  • Constructor Details

    • Entry

      protected Entry(Frame frame, IStream stream, org.eclipse.jetty.util.Callback callback)
  • Method Details

    • getFrameBytesGenerated

      public abstract int getFrameBytesGenerated()
    • getDataBytesRemaining

      public int getDataBytesRemaining()
    • generate

      protected abstract boolean generate(org.eclipse.jetty.io.ByteBufferPool.Lease lease) throws org.eclipse.jetty.http2.hpack.HpackException
      Throws:
      org.eclipse.jetty.http2.hpack.HpackException
    • onFlushed

      public abstract long onFlushed(long bytes) throws IOException
      Throws:
      IOException
    • failed

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

      public String toString()
      Overrides:
      toString in class Object