Package org.apache.camel.component.netty
Class DefaultChannelHandlerFactory
java.lang.Object
org.apache.camel.component.netty.DefaultChannelHandlerFactory
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,ChannelHandlerFactory
- Direct Known Subclasses:
ShareableChannelHandlerFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) voidhandlerRemoved(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.component.netty.ChannelHandlerFactory
newChannelHandler
-
Constructor Details
-
DefaultChannelHandlerFactory
public DefaultChannelHandlerFactory()
-
-
Method Details
-
handlerAdded
- Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Throws:
Exception
-
handlerRemoved
- Specified by:
handlerRemovedin interfaceio.netty.channel.ChannelHandler- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception - Specified by:
exceptionCaughtin interfaceio.netty.channel.ChannelHandler- Throws:
Exception
-