Package org.apache.camel.component.netty
Class ShareableChannelHandlerFactory
java.lang.Object
org.apache.camel.component.netty.DefaultChannelHandlerFactory
org.apache.camel.component.netty.ShareableChannelHandlerFactory
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,ChannelHandlerFactory
A
ChannelHandlerFactory
returning a shareable ChannelHandler
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Constructor Summary
ConstructorsConstructorDescriptionShareableChannelHandlerFactory
(io.netty.channel.ChannelHandler channelHandler) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelHandler
Creates a newChannelHandler
to be used.Methods inherited from class org.apache.camel.component.netty.DefaultChannelHandlerFactory
exceptionCaught, handlerAdded, handlerRemoved
-
Constructor Details
-
ShareableChannelHandlerFactory
public ShareableChannelHandlerFactory(io.netty.channel.ChannelHandler channelHandler)
-
-
Method Details
-
newChannelHandler
public io.netty.channel.ChannelHandler newChannelHandler()Description copied from interface:ChannelHandlerFactory
Creates a newChannelHandler
to be used.
-