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
- Enclosing class:
- HTTP2Flusher
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.Nested
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task
-
Field Summary
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback invoked when the operation fails.protected abstract boolean
generate
(ByteBufferPool.Lease lease) int
abstract int
abstract long
onFlushed
(long bytes) toString()
Methods inherited from class org.eclipse.jetty.util.Callback.Nested
getCallback, getInvocationType, succeeded
Methods inherited from class org.eclipse.jetty.util.Callback.Completing
completed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.Callback
completeWith
-
Field Details
-
frame
-
stream
-
-
Constructor Details
-
Entry
-
-
Method Details
-
getFrameBytesGenerated
public abstract int getFrameBytesGenerated() -
getDataBytesRemaining
public int getDataBytesRemaining() -
generate
- Throws:
HpackException
-
onFlushed
- Throws:
IOException
-
failed
Description copied from interface:Callback
Callback invoked when the operation fails.
- Specified by:
failed
in interfaceCallback
- Overrides:
failed
in classCallback.Nested
- Parameters:
x
- the reason for the operation failure
-
toString
-