Class HTTP2Session.Entry

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

public abstract static class HTTP2Session.Entry extends Callback.Nested
  • Field Details

    • frame

      protected final Frame frame
    • stream

      protected final HTTP2Stream stream
  • Constructor Details

  • Method Details

    • frame

      public Frame frame()
    • getFrameBytesGenerated

      public abstract int getFrameBytesGenerated()
    • getDataBytesRemaining

      public int getDataBytesRemaining()
    • generate

      public abstract boolean generate(ByteBufferPool.Accumulator accumulator) throws HpackException
      Throws:
      HpackException
    • closeAndFail

      public void closeAndFail(Throwable failure)
    • resetAndFail

      public void resetAndFail(Throwable x)
    • shouldBeDropped

      public boolean shouldBeDropped()
      Returns:
      whether the entry should not be processed
    • toString

      public String toString()
      Overrides:
      toString in class Callback.Nested