Package org.apache.camel.component.netty
Interface ChannelHandlerFactory
-
- All Superinterfaces:
io.netty.channel.ChannelHandler
- All Known Implementing Classes:
DefaultChannelHandlerFactory
,ShareableChannelHandlerFactory
public interface ChannelHandlerFactory extends io.netty.channel.ChannelHandler
Factory for creating newChannelHandler
used for non shareable encoders and decoders configured on the CamelNettyComponent
. This is needed as Netty'sChannelHandler
is often not shareable and therefore a new instance must be created when a handler is being added to a pipeline.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.netty.channel.ChannelHandler
newChannelHandler()
Creates a newChannelHandler
to be used.
-