Package org.eclipse.jetty.http2
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
- Direct Known Subclasses:
HTTP2Session.ControlEntry,HTTP2Session.DataEntry
- 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.NestedNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
org.eclipse.jetty.util.thread.Invocable.InvocationType -
Field Summary
FieldsFields inherited from interface org.eclipse.jetty.util.Callback
NOOPFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.util.Callback.Nested
getCallback, getInvocationType, succeededMethods inherited from class org.eclipse.jetty.util.Callback.Completing
completed
-
Field Details
-
frame
-
stream
-
-
Constructor Details
-
Entry
-
-
Method Details
-
getFrameBytesGenerated
public abstract int getFrameBytesGenerated() -
getDataBytesRemaining
public int getDataBytesRemaining() -
generate
protected abstract boolean generate(org.eclipse.jetty.io.ByteBufferPool.Lease lease) throws HpackException - Throws:
HpackException
-
onFlushed
- Throws:
IOException
-
hasHighPriority
boolean hasHighPriority() -
failed
- Specified by:
failedin interfaceorg.eclipse.jetty.util.Callback- Overrides:
failedin classorg.eclipse.jetty.util.Callback.Nested
-
shouldBeDropped
private boolean shouldBeDropped()- Returns:
- whether the entry should not be processed
-
commit
void commit() -
toString
-