public abstract static class HTTP2Flusher.Entry extends Callback.Nested
Callback.Completable, Callback.Nested
Invocable.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, succeeded
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInvocationType, invokeNonBlocking, isNonBlockingInvocation
public 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.IOException
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
failed
in interface Callback
failed
in class Callback.Nested
x
- the reason for the operation failurepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.