Class HttpServerSharedInitializerFactory
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.http.HttpServerInitializerFactory
org.apache.camel.component.netty.http.HttpServerSharedInitializerFactory
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
A shared
HttpServerInitializerFactory for a shared Netty HTTP server.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class org.apache.camel.component.netty.http.HttpServerInitializerFactory
consumer -
Constructor Summary
ConstructorsConstructorDescriptionHttpServerSharedInitializerFactory(NettySharedHttpServerBootstrapConfiguration configuration, HttpServerConsumerChannelFactory channelFactory, org.apache.camel.CamelContext camelContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.component.netty.ServerInitializerFactorycreatePipelineFactory(org.apache.camel.component.netty.NettyConsumer nettyConsumer) protected 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
-
Method Details
-
createPipelineFactory
public org.apache.camel.component.netty.ServerInitializerFactory createPipelineFactory(org.apache.camel.component.netty.NettyConsumer nettyConsumer) - Overrides:
createPipelineFactoryin classHttpServerInitializerFactory
-
initChannel
- Overrides:
initChannelin classHttpServerInitializerFactory- Throws:
Exception
-