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
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Callback
Callback.Combination, Callback.Completable, Callback.Completing, Callback.NestedNested classes/interfaces inherited from interface Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task - 
Field Summary
FieldsFields inherited from interface Callback
NOOP, NOT_CALLEDFields inherited from interface Invocable
__nonBlocking - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntry(Frame frame, HTTP2Stream stream, Callback callback)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidcloseAndFail(Throwable failure) frame()abstract booleangenerate(RetainableByteBuffer.Mutable accumulator) intabstract intvoidbooleantoString()Methods inherited from class Callback.Nested
completed, failed, getCallback, getInvocationType, succeededMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Callback
completeWith 
- 
Field Details
- 
frame
 - 
stream
 
 - 
 - 
Constructor Details
- 
Entry
 
 - 
 - 
Method Details
- 
frame
 - 
getFrameBytesGenerated
public abstract int getFrameBytesGenerated() - 
getDataBytesRemaining
public int getDataBytesRemaining() - 
generate
- Throws:
 HpackException
 - 
closeAndFail
 - 
resetAndFail
 - 
shouldBeDropped
public boolean shouldBeDropped()- Returns:
 - whether the entry should not be processed
 
 - 
toString
- Overrides:
 toStringin classCallback.Nested
 
 -