public abstract static class HTTP2Flusher.Entry extends Callback.Nested
Callback.Completable, Callback.NestedInvocable.InvocationType| Modifier and Type | Field | Description |
|---|---|---|
protected Frame |
frame |
|
protected IStream |
stream |
__nonBlocking| Modifier | Constructor | Description |
|---|---|---|
protected |
Entry(Frame frame,
IStream stream,
Callback callback) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
failed(java.lang.Throwable x) |
|
protected abstract boolean |
generate(ByteBufferPool.Lease lease) |
|
int |
getDataBytesRemaining() |
|
abstract int |
getFrameBytesGenerated() |
|
abstract long |
onFlushed(long bytes) |
|
java.lang.String |
toString() |
getCallback, getInvocationType, succeededgetInvocationType, 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)
failed in interface Callbackfailed in class Callback.Nestedpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2018 Webtide. All rights reserved.