Package org.eclipse.jetty.http2
Interface HTTP2Channel.Server
- All Known Implementing Classes:
HttpStreamOverHTTP2
,ServerHTTP2StreamEndPoint
- Enclosing interface:
- HTTP2Channel
public static interface HTTP2Channel.Server
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.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isIdle()
void
onTimeout
(TimeoutException timeout, BiConsumer<Runnable, Boolean> consumer) onTrailer
(HeadersFrame frame)
-
Method Details
-
onDataAvailable
Runnable onDataAvailable() -
onTrailer
-
onTimeout
-
onFailure
-
isIdle
boolean isIdle()
-