public abstract static class HTTP2Flusher.Entry extends Callback.Nested
Callback.Completable, Callback.Completing, Callback.NestedInvocable.InvocationType| Modifier and Type | Field and Description |
|---|---|
protected Frame |
frame |
protected IStream |
stream |
__nonBlocking| Modifier | Constructor and Description |
|---|---|
protected |
Entry(Frame frame,
IStream stream,
Callback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
protected abstract boolean |
generate(ByteBufferPool.Lease lease) |
int |
getDataBytesRemaining() |
abstract int |
getFrameBytesGenerated() |
abstract long |
onFlushed(long bytes) |
java.lang.String |
toString() |
getCallback, getInvocationType, succeededcompletedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInvocationType, invokeNonBlocking, isNonBlockingInvocationpublic abstract int getFrameBytesGenerated()
public int getDataBytesRemaining()
protected abstract boolean generate(ByteBufferPool.Lease lease)
public abstract long onFlushed(long bytes)
throws java.io.IOException
java.io.IOExceptionpublic void failed(java.lang.Throwable x)
CallbackCallback invoked when the operation fails.
failed in interface Callbackfailed in class Callback.Nestedx - the reason for the operation failurepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2022 Webtide. All rights reserved.