| Modifier and Type | Method and Description |
|---|---|
HttpResponseFuture |
HttpClientConnector.getPushResponse(Http2PushPromise pushPromise)
Gets the push response in asynchronous manner.
|
void |
HttpConnectorFuture.notifyHttpListener(Http2PushPromise pushPromise)
Notifies
Http2PushPromise to the listener. |
void |
HttpConnectorFuture.notifyHttpListener(HttpCarbonMessage httpMessage,
Http2PushPromise pushPromise)
Notifies HTTP Server Push messages to the listener.
|
default void |
HttpConnectorListener.onPushPromise(Http2PushPromise pushPromise)
Gets notified for an event on a
Http2PushPromise. |
void |
HttpClientConnector.rejectPushResponse(Http2PushPromise pushPromise)
Rejects a server push response which is expected to receive over a promised stream.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponseFuture |
DefaultHttpClientConnector.getPushResponse(Http2PushPromise pushPromise) |
void |
HttpWsServerConnectorFuture.notifyHttpListener(Http2PushPromise pushPromise) |
void |
HttpWsServerConnectorFuture.notifyHttpListener(HttpCarbonMessage httpMessage,
Http2PushPromise pushPromise) |
void |
HttpOutboundRespListener.onPushPromise(Http2PushPromise pushPromise) |
void |
Http2OutboundRespListener.onPushPromise(Http2PushPromise pushPromise) |
void |
DefaultHttpClientConnector.rejectPushResponse(Http2PushPromise pushPromise) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Http2StateUtil.onPushPromiseRead(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
Http2ClientChannel http2ClientChannel,
OutboundMsgHolder outboundMsgHolder)
Adds a push promise message.
|
static void |
Http2StateUtil.writeHttp2Promise(Http2PushPromise pushPromise,
io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2Connection conn,
io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
HttpCarbonMessage inboundRequestMsg,
HttpResponseFuture outboundRespStatusFuture,
int originalStreamId)
Writes an HTTP2 promise.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
Http2PushPromise |
OutboundMsgHolder.getNextPromise()
Gets the next available push promise.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OutboundMsgHolder.addPromise(Http2PushPromise pushPromise)
Adds a
Http2PushPromise message. |
| Modifier and Type | Method and Description |
|---|---|
void |
RequestCompleted.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder) |
void |
SenderState.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder)
Reads inbound promise.
|
void |
ReceivingHeaders.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder) |
void |
SendingHeaders.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder) |
void |
ReceivingEntityBody.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder) |
void |
EntityBodyReceived.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder) |
void |
SendingEntityBody.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder) |
void |
WaitingFor100Continue.readInboundPromise(io.netty.channel.ChannelHandlerContext ctx,
Http2PushPromise http2PushPromise,
OutboundMsgHolder outboundMsgHolder) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponseFuture |
HttpCarbonMessage.pushPromise(Http2PushPromise pushPromise)
Sends a push promise message back to the client.
|
HttpResponseFuture |
HttpCarbonMessage.pushResponse(HttpCarbonMessage httpCarbonMessage,
Http2PushPromise pushPromise)
Sends a push response message back to the client.
|
Copyright © 2022 WSO2. All rights reserved.