public class SenderReqRespStateManager extends Object
| Modifier and Type | Field and Description |
|---|---|
io.netty.channel.Channel |
nettyTargetChannel |
int |
socketTimeout |
SenderState |
state |
| Constructor and Description |
|---|
SenderReqRespStateManager(io.netty.channel.Channel nettyTargetChannel,
int socketTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleAbruptChannelClosure(TargetHandler targetHandler,
HttpResponseFuture httpResponseFuture) |
void |
handleIdleTimeoutConnectionClosure(TargetHandler targetHandler,
HttpResponseFuture httpResponseFuture,
String channelID) |
void |
readInboundResponseEntityBody(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpContent httpContent,
HttpCarbonMessage inboundResponseMsg) |
void |
readInboundResponseHeaders(TargetHandler targetHandler,
io.netty.handler.codec.http.HttpResponse httpInboundResponse) |
void |
writeOutboundRequestEntity(HttpCarbonMessage httpOutboundRequest,
io.netty.handler.codec.http.HttpContent httpContent) |
void |
writeOutboundRequestHeaders(HttpCarbonMessage httpOutboundRequest) |
public SenderState state
public final io.netty.channel.Channel nettyTargetChannel
public final int socketTimeout
public SenderReqRespStateManager(io.netty.channel.Channel nettyTargetChannel,
int socketTimeout)
public void writeOutboundRequestHeaders(HttpCarbonMessage httpOutboundRequest)
public void writeOutboundRequestEntity(HttpCarbonMessage httpOutboundRequest, io.netty.handler.codec.http.HttpContent httpContent)
public void readInboundResponseHeaders(TargetHandler targetHandler, io.netty.handler.codec.http.HttpResponse httpInboundResponse)
public void readInboundResponseEntityBody(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpContent httpContent,
HttpCarbonMessage inboundResponseMsg)
throws Exception
Exceptionpublic void handleAbruptChannelClosure(TargetHandler targetHandler, HttpResponseFuture httpResponseFuture)
public void handleIdleTimeoutConnectionClosure(TargetHandler targetHandler, HttpResponseFuture httpResponseFuture, String channelID)
Copyright © 2023 WSO2. All rights reserved.