public interface ListenerState
| Modifier and Type | Method and Description |
|---|---|
void |
handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId)
Handles the abrupt channel closure.
|
void |
handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId)
Handles the stream timeout.
|
void |
readInboundRequestBody(Http2SourceHandler http2SourceHandler,
Http2DataFrame dataFrame)
Reads entity body of inbound request.
|
void |
readInboundRequestHeaders(io.netty.channel.ChannelHandlerContext ctx,
Http2HeadersFrame headersFrame)
Reads headers of inbound request.
|
void |
writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise)
Writes the outbound promise message.
|
void |
writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId)
Writes entity body of outbound response.
|
void |
writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId)
Writes headers of outbound response.
|
void readInboundRequestHeaders(io.netty.channel.ChannelHandlerContext ctx,
Http2HeadersFrame headersFrame)
throws io.netty.handler.codec.http2.Http2Exception
ctx - channel handler contextheadersFrame - inbound header frameio.netty.handler.codec.http2.Http2Exception - if an error occurs while readingvoid readInboundRequestBody(Http2SourceHandler http2SourceHandler, Http2DataFrame dataFrame) throws io.netty.handler.codec.http2.Http2Exception
http2SourceHandler - HTTP2 source handlerdataFrame - inbound data frameio.netty.handler.codec.http2.Http2Exception - if an error occurs while readingvoid writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener, HttpCarbonMessage outboundResponseMsg, io.netty.handler.codec.http.HttpContent httpContent, int streamId) throws io.netty.handler.codec.http2.Http2Exception
http2OutboundRespListener - outbound response listener of response futureoutboundResponseMsg - outbound response messagehttpContent - the initial content of the entity bodystreamId - the current stream idio.netty.handler.codec.http2.Http2Exception - if an error occurs while writingvoid writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener, HttpCarbonMessage outboundResponseMsg, io.netty.handler.codec.http.HttpContent httpContent, int streamId) throws io.netty.handler.codec.http2.Http2Exception
http2OutboundRespListener - outbound response listener of response futureoutboundResponseMsg - outbound response messagehttpContent - the content of the entity bodystreamId - the current stream idio.netty.handler.codec.http2.Http2Exception - if an error occurs while writingvoid writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener, Http2PushPromise pushPromise) throws io.netty.handler.codec.http2.Http2Exception
http2OutboundRespListener - outbound response listener of response futurepushPromise - outbound promise messageio.netty.handler.codec.http2.Http2Exception - if an error occurs while writingvoid handleStreamTimeout(ServerConnectorFuture serverConnectorFuture, io.netty.channel.ChannelHandlerContext ctx, Http2OutboundRespListener http2OutboundRespListener, int streamId)
serverConnectorFuture - the sever connector futurectx - the channel handler contexthttp2OutboundRespListener - the http/2 outbound response listenerstreamId - the stream idvoid handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture, io.netty.channel.ChannelHandlerContext ctx, Http2OutboundRespListener http2OutboundRespListener, int streamId)
serverConnectorFuture - the sever connector futurectx - the channel handler contexthttp2OutboundRespListener - the http/2 outbound response listenerstreamId - the stream idCopyright © 2023 WSO2. All rights reserved.