public class HTTP2Flusher extends IteratingCallback
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HTTP2Flusher.Entry |
IteratingCallback.ActionCallback.Completable, Callback.Nested, Callback.NonBlocking| 构造器和说明 |
|---|
HTTP2Flusher(HTTP2Session session) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
append(HTTP2Flusher.Entry entry) |
int |
getQueueSize() |
protected void |
onCompleteFailure(Throwable x) |
protected void |
onCompleteSuccess() |
boolean |
prepend(HTTP2Flusher.Entry entry) |
protected IteratingCallback.Action |
process() |
void |
succeeded() |
void |
window(StreamSPI stream,
WindowUpdateFrame frame) |
close, failed, isClosed, isFailed, isSucceeded, iterate, reset, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfrom, from, isNonBlockingpublic HTTP2Flusher(HTTP2Session session)
public void window(StreamSPI stream, WindowUpdateFrame frame)
public boolean prepend(HTTP2Flusher.Entry entry)
public boolean append(HTTP2Flusher.Entry entry)
public int getQueueSize()
protected IteratingCallback.Action process() throws Exception
process 在类中 IteratingCallbackExceptionpublic void succeeded()
succeeded 在接口中 Callbacksucceeded 在类中 IteratingCallbackprotected void onCompleteSuccess()
onCompleteSuccess 在类中 IteratingCallbackprotected void onCompleteFailure(Throwable x)
onCompleteFailure 在类中 IteratingCallbackCopyright © 2016. All rights reserved.