public class Expect100ContinueHeaderReceived extends Object implements ListenerState
| Modifier and Type | Method and Description |
|---|---|
void |
handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture)
Handle channel closure occurred due to abrupt connection failures.
|
io.netty.channel.ChannelFuture |
handleIdleTimeoutConnectionClosure(ServerConnectorFuture serverConnectorFuture,
io.netty.channel.ChannelHandlerContext ctx)
Handle channel closure occurred due to idle timeout.
|
void |
readInboundRequestBody(Object inboundRequestEntityBody)
Read entity body of inbound request.
|
void |
readInboundRequestHeaders(HttpCarbonMessage inboundRequestMsg,
io.netty.handler.codec.http.HttpRequest inboundRequestHeaders)
Read headers of inbound request.
|
void |
writeOutboundResponseBody(HttpOutboundRespListener outboundResponseListener,
HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent)
Write entity body of outbound response.
|
void |
writeOutboundResponseHeaders(HttpCarbonMessage outboundResponseMsg,
io.netty.handler.codec.http.HttpContent httpContent)
Write headers of outbound response.
|
public void readInboundRequestHeaders(HttpCarbonMessage inboundRequestMsg, io.netty.handler.codec.http.HttpRequest inboundRequestHeaders)
ListenerStatereadInboundRequestHeaders in interface ListenerStateinboundRequestMsg - HttpCarbonMessage which represents the inbound messageinboundRequestHeaders - HttpRequest which is received at source handlerpublic void readInboundRequestBody(Object inboundRequestEntityBody) throws ServerConnectorException
ListenerStatereadInboundRequestBody in interface ListenerStateinboundRequestEntityBody - which represents the inbound Http contentServerConnectorException - if an error occurs while notifying to server connector futurepublic void writeOutboundResponseHeaders(HttpCarbonMessage outboundResponseMsg, io.netty.handler.codec.http.HttpContent httpContent)
ListenerStatewriteOutboundResponseHeaders in interface ListenerStateoutboundResponseMsg - HttpCarbonMessage which represents the outbound messagehttpContent - the initial content of the entity bodypublic void writeOutboundResponseBody(HttpOutboundRespListener outboundResponseListener, HttpCarbonMessage outboundResponseMsg, io.netty.handler.codec.http.HttpContent httpContent)
ListenerStatewriteOutboundResponseBody in interface ListenerStateoutboundResponseListener - outbound response listener of response futureoutboundResponseMsg - HttpCarbonMessage which represents the outbound messagehttpContent - the content of the entity bodypublic void handleAbruptChannelClosure(ServerConnectorFuture serverConnectorFuture)
ListenerStatehandleAbruptChannelClosure in interface ListenerStateserverConnectorFuture - to notify the closurepublic io.netty.channel.ChannelFuture handleIdleTimeoutConnectionClosure(ServerConnectorFuture serverConnectorFuture, io.netty.channel.ChannelHandlerContext ctx)
ListenerStatehandleIdleTimeoutConnectionClosure in interface ListenerStateserverConnectorFuture - to notify the closurectx - the channel handler contextCopyright © 2022 WSO2. All rights reserved.