A HTTP/2 specific handler of events for normal and tunnelled exchanges.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | HTTP2Channel.
A client specific handler for events that happen after
a |
| public static interface | HTTP2Channel.
A server specific handler for events that happen after
a |
A client specific handler for events that happen after
a HEADERS response frame is received.
DATA frames may be handled as response content
or as opaque tunnelled data.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void |
| onDataAvailable | back to summary |
|---|---|
| public void onDataAvailable() | |
| onFailure | back to summary |
|---|---|
| public void onFailure(Throwable failure, Callback callback) | |
| onTimeout | back to summary |
|---|---|
| public void onTimeout(TimeoutException failure, Promise<Boolean> promise) | |
A server specific handler for events that happen after
a HEADERS request frame is received.
DATA frames may be handled as request content
or as opaque tunnelled data.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Runnable | |
| public Runnable | |
| public void | |
| public Runnable |
| isIdle | back to summary |
|---|---|
| public boolean isIdle() | |
| onDataAvailable | back to summary |
|---|---|
| public Runnable onDataAvailable() | |
| onFailure | back to summary |
|---|---|
| public Runnable onFailure(Throwable failure, Callback callback) | |
| onTimeout | back to summary |
|---|---|
| public void onTimeout(TimeoutException timeout, BiConsumer<Runnable, Boolean> consumer) | |
| onTrailer | back to summary |
|---|---|
| public Runnable onTrailer(HeadersFrame frame) | |