Package org.apache.camel.component.netty
Class DefaultServerInitializerFactory
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
org.apache.camel.component.netty.ServerInitializerFactory
org.apache.camel.component.netty.DefaultServerInitializerFactory
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
ConstructorsConstructorDescriptionDefaultServerInitializerFactory(NettyConsumer consumer) DefaultServerInitializerFactory(NettyServerBootstrapConfiguration configuration) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreatePipelineFactory(NettyConsumer consumer) Creates a newServerInitializerFactoryusing the givenNettyConsumerprotected voidinitChannel(io.netty.channel.Channel ch) Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
DefaultServerInitializerFactory
Deprecated. -
DefaultServerInitializerFactory
-
-
Method Details
-
initChannel
- Specified by:
initChannelin classio.netty.channel.ChannelInitializer<io.netty.channel.Channel>- Throws:
Exception
-
createPipelineFactory
Description copied from class:ServerInitializerFactoryCreates a newServerInitializerFactoryusing the givenNettyConsumer- Specified by:
createPipelineFactoryin classServerInitializerFactory- Parameters:
consumer- the associated consumer- Returns:
- the
ServerInitializerFactoryassociated to the given consumer.
-