Class HTTP2Session.Entry

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

public abstract static class HTTP2Session.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.Combination, 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.Callable, 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 HTTP2Stream
     

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

    NOOP, NOT_CALLED

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

    __nonBlocking
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Entry(Frame frame, HTTP2Stream stream, org.eclipse.jetty.util.Callback callback)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    abstract boolean
    generate(org.eclipse.jetty.io.RetainableByteBuffer.Mutable accumulator)
     
    int
     
    abstract int
     
    void
     
    boolean
     
     

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

    completed, failed, getCallback, getInvocationType, succeeded

    Methods inherited from class 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 HTTP2Stream stream
  • Constructor Details

    • Entry

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

    • frame

      public Frame frame()
    • getFrameBytesGenerated

      public abstract int getFrameBytesGenerated()
    • getDataBytesRemaining

      public int getDataBytesRemaining()
    • generate

      public abstract boolean generate(org.eclipse.jetty.io.RetainableByteBuffer.Mutable accumulator) throws org.eclipse.jetty.http2.hpack.HpackException
      Throws:
      org.eclipse.jetty.http2.hpack.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 org.eclipse.jetty.util.Callback.Nested