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.ServerInitializerFactory
createPipelineFactory
(org.apache.camel.component.netty.NettyConsumer nettyConsumer) protected void
initChannel
(io.netty.channel.Channel ch) Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods 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:
createPipelineFactory
in classHttpServerInitializerFactory
-
initChannel
- Overrides:
initChannel
in classHttpServerInitializerFactory
- Throws:
Exception
-