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.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.NestedNested 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
FieldsFields inherited from interface org.eclipse.jetty.util.Callback
NOOPFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntry(Frame frame, HTTP2Stream stream, org.eclipse.jetty.util.Callback callback) -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseAndFail(Throwable failure) frame()abstract booleangenerate(org.eclipse.jetty.io.RetainableByteBuffer.Mutable accumulator) intabstract intvoidbooleantoString()Methods inherited from class org.eclipse.jetty.util.Callback.Nested
completed, failed, getCallback, getInvocationType, succeededMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Callback
completeWith
-
Field Details
-
frame
-
stream
-
-
Constructor Details
-
Entry
-
-
Method Details
-
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
-
resetAndFail
-
shouldBeDropped
public boolean shouldBeDropped()- Returns:
- whether the entry should not be processed
-
toString
- Overrides:
toStringin classorg.eclipse.jetty.util.Callback.Nested
-