Interface H2StreamHandler
- All Superinterfaces:
ResourceHolder
- All Known Implementing Classes:
ClientH2StreamHandler,ClientPushH2StreamHandler,NoopH2StreamHandler,ServerH2StreamHandler,ServerPushH2StreamHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeData(ByteBuffer src, boolean endStream) voidconsumeHeader(List<Header> headers, boolean endStream) voidconsumePromise(List<Header> headers) voidvoidhandle(HttpException ex, boolean endStream) booleanvoidvoidMethods inherited from interface org.apache.hc.core5.http.nio.ResourceHolder
releaseResources
-
Method Details
-
isOutputReady
boolean isOutputReady() -
produceOutput
- Throws:
HttpExceptionIOException
-
consumePromise
- Throws:
HttpExceptionIOException
-
consumeHeader
- Throws:
HttpExceptionIOException
-
updateInputCapacity
- Throws:
IOException
-
consumeData
- Throws:
HttpExceptionIOException
-
getPushHandlerFactory
HandlerFactory<AsyncPushConsumer> getPushHandlerFactory() -
failed
-
handle
- Throws:
HttpExceptionIOException
-