public class SourceHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.channel.ChannelHandlerContext |
ctx |
| Constructor and Description |
|---|
SourceHandler(ServerConnectorFuture serverConnectorFuture,
String interfaceId,
ChunkConfig chunkConfig,
KeepAliveConfig keepAliveConfig,
String serverName,
io.netty.channel.group.ChannelGroup allChannels,
boolean pipeliningEnabled,
long pipeliningLimit,
io.netty.util.concurrent.EventExecutorGroup pipeliningGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
ChunkConfig |
getChunkConfig() |
io.netty.channel.EventLoop |
getEventLoop() |
io.netty.channel.ChannelHandlerContext |
getInboundChannelContext() |
String |
getInterfaceId() |
KeepAliveConfig |
getKeepAliveConfig() |
SocketAddress |
getRemoteAddress() |
ServerConnectorFuture |
getServerConnectorFuture() |
String |
getServerName() |
Map<String,org.apache.commons.pool.impl.GenericObjectPool> |
getTargetChannelPool() |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
void |
removeRequestEntry(HttpCarbonMessage inboundRequestMsg) |
void |
resetInboundRequestMsg() |
void |
setConnectedState(boolean connectedState) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerRemoved, isSharablepublic SourceHandler(ServerConnectorFuture serverConnectorFuture, String interfaceId, ChunkConfig chunkConfig, KeepAliveConfig keepAliveConfig, String serverName, io.netty.channel.group.ChannelGroup allChannels, boolean pipeliningEnabled, long pipeliningLimit, io.netty.util.concurrent.EventExecutorGroup pipeliningGroup)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
handlerAdded in interface io.netty.channel.ChannelHandlerhandlerAdded in class io.netty.channel.ChannelHandlerAdapterExceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterpublic void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapterpublic io.netty.channel.EventLoop getEventLoop()
public Map<String,org.apache.commons.pool.impl.GenericObjectPool> getTargetChannelPool()
public io.netty.channel.ChannelHandlerContext getInboundChannelContext()
public SocketAddress getRemoteAddress()
public String getInterfaceId()
public ServerConnectorFuture getServerConnectorFuture()
public ChunkConfig getChunkConfig()
public KeepAliveConfig getKeepAliveConfig()
public String getServerName()
public void setConnectedState(boolean connectedState)
public void removeRequestEntry(HttpCarbonMessage inboundRequestMsg)
public void resetInboundRequestMsg()
Copyright © 2023 WSO2. All rights reserved.