Callbackpublic class HTTP2Flusher extends IteratingCallback
| Modifier and Type | Class | Description |
|---|---|---|
static class |
HTTP2Flusher.Entry |
Callback.Adapter, Callback.Nested, Callback.NonBlockingIteratingCallback.Action| Constructor | Description |
|---|---|
HTTP2Flusher(HTTP2Session session) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
append(HTTP2Flusher.Entry entry) |
|
int |
getQueueSize() |
|
protected void |
onCompleteFailure(java.lang.Throwable x) |
|
protected void |
onCompleteSuccess() |
|
boolean |
prepend(HTTP2Flusher.Entry entry) |
|
protected IteratingCallback.Action |
process() |
|
void |
succeeded() |
|
void |
window(IStream stream,
WindowUpdateFrame frame) |
isNonBlockingclose, failed, isClosed, isFailed, isSucceeded, iterate, reset, toStringpublic HTTP2Flusher(HTTP2Session session)
public void window(IStream stream, WindowUpdateFrame frame)
public boolean prepend(HTTP2Flusher.Entry entry)
public boolean append(HTTP2Flusher.Entry entry)
public int getQueueSize()
protected IteratingCallback.Action process() throws java.lang.Throwable
process in class IteratingCallbackjava.lang.Throwablepublic void succeeded()
succeeded in interface Callbacksucceeded in class IteratingCallbackprotected void onCompleteSuccess()
onCompleteSuccess in class IteratingCallbackprotected void onCompleteFailure(java.lang.Throwable x)
onCompleteFailure in class IteratingCallbackCopyright © 1995–2017 Webtide. All rights reserved.