| Modifier and Type | Method and Description |
|---|---|
static void |
Util.addResponseWriteFailureListener(HttpResponseFuture outboundRespStatusFuture,
io.netty.channel.ChannelFuture channelFuture,
Http2OutboundRespListener http2OutboundRespListener)
Adds a listener to notify the outbound response future if an error occurs while writing the response message.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Http2StateUtil.beginResponseWrite(Http2MessageStateContext http2MessageStateContext,
Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
static void |
Http2StateUtil.sendRequestTimeoutResponse(io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId,
io.netty.handler.codec.http.HttpResponseStatus httpResponseStatus,
io.netty.buffer.ByteBuf content,
boolean handleIncompleteRequest,
boolean whileReceivingHeader) |
static void |
Http2StateUtil.writeHttp2ResponseHeaders(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
HttpResponseFuture outboundRespStatusFuture,
int streamId,
io.netty.handler.codec.http2.Http2Headers http2Headers,
boolean endStream,
Http2OutboundRespListener respListener)
Writes HTTP2 headers to outbound response.
|
| Modifier and Type | Method and Description |
|---|---|
Http2OutboundRespListener |
InboundMessageHolder.getHttp2OutboundRespListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
InboundMessageHolder.setHttp2OutboundRespListener(Http2OutboundRespListener http2OutboundRespListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
Response100ContinueSent.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
ReceivingHeaders.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
SendingHeaders.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
ReceivingEntityBody.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
EntityBodyReceived.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
Expect100ContinueHeaderReceived.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
SendingEntityBody.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
ListenerState.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId)
Handles the abrupt channel closure.
|
void |
ResponseCompleted.handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
Response100ContinueSent.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
ReceivingHeaders.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
SendingHeaders.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
ReceivingEntityBody.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
EntityBodyReceived.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
Expect100ContinueHeaderReceived.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
SendingEntityBody.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
ListenerState.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId)
Handles the stream timeout.
|
void |
ResponseCompleted.handleStreamTimeout(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx,
Http2OutboundRespListener http2OutboundRespListener,
int streamId) |
void |
Response100ContinueSent.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
ReceivingHeaders.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
SendingHeaders.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
ReceivingEntityBody.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
EntityBodyReceived.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
Expect100ContinueHeaderReceived.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
SendingEntityBody.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
ListenerState.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise)
Writes the outbound promise message.
|
void |
ResponseCompleted.writeOutboundPromise(Http2OutboundRespListener http2OutboundRespListener,
Http2PushPromise pushPromise) |
void |
Response100ContinueSent.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
ReceivingHeaders.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
SendingHeaders.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
ReceivingEntityBody.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
EntityBodyReceived.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
Expect100ContinueHeaderReceived.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
SendingEntityBody.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
ListenerState.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId)
Writes entity body of outbound response.
|
void |
ResponseCompleted.writeOutboundResponseBody(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
Response100ContinueSent.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
ReceivingHeaders.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
SendingHeaders.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
ReceivingEntityBody.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
EntityBodyReceived.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
Expect100ContinueHeaderReceived.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
SendingEntityBody.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
void |
ListenerState.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId)
Writes headers of outbound response.
|
void |
ResponseCompleted.writeOutboundResponseHeaders(Http2OutboundRespListener http2OutboundRespListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent,
int streamId) |
| Constructor and Description |
|---|
SendingHeaders(Http2OutboundRespListener http2OutboundRespListener,
Http2MessageStateContext http2MessageStateContext) |
Copyright © 2023 WSO2. All rights reserved.