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