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
public class HttpServerSharedInitializerFactory extends HttpServerInitializerFactory
A sharedHttpServerInitializerFactory
for a shared Netty HTTP server.- See Also:
NettySharedHttpServer
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.netty.http.HttpServerInitializerFactory
consumer
-
-
Constructor Summary
Constructors Constructor Description HttpServerSharedInitializerFactory(NettySharedHttpServerBootstrapConfiguration configuration, HttpServerConsumerChannelFactory channelFactory, org.apache.camel.CamelContext camelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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
-
-
-
-
Constructor Detail
-
HttpServerSharedInitializerFactory
public HttpServerSharedInitializerFactory(NettySharedHttpServerBootstrapConfiguration configuration, HttpServerConsumerChannelFactory channelFactory, org.apache.camel.CamelContext camelContext)
-
-
Method Detail
-
createPipelineFactory
public org.apache.camel.component.netty.ServerInitializerFactory createPipelineFactory(org.apache.camel.component.netty.NettyConsumer nettyConsumer)
- Overrides:
createPipelineFactory
in classHttpServerInitializerFactory
-
initChannel
protected void initChannel(io.netty.channel.Channel ch) throws Exception
- Overrides:
initChannel
in classHttpServerInitializerFactory
- Throws:
Exception
-
-