Package org.infinispan.rest
Class RestChannelInitializer
- java.lang.Object
-
- org.infinispan.server.core.transport.NettyChannelInitializer<RestServerConfiguration>
-
- org.infinispan.rest.RestChannelInitializer
-
- All Implemented Interfaces:
org.infinispan.server.core.transport.NettyInitializer
public class RestChannelInitializer extends org.infinispan.server.core.transport.NettyChannelInitializer<RestServerConfiguration>
Creates Netty Channels for this server.With ALPN support, this class acts only as a bridge between Server Core and ALPN Handler which bootstraps pipeline handlers
- Author:
- Sebastian Ćaskawiec
-
-
Constructor Summary
Constructors Constructor Description RestChannelInitializer(RestServer restServer, org.infinispan.server.core.transport.NettyTransport transport)
Creates newRestChannelInitializer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.netty.handler.ssl.ApplicationProtocolConfig
getAlpnConfiguration()
io.netty.channel.ChannelHandler
getRestHandler()
void
initializeChannel(io.netty.channel.Channel ch)
-
-
-
Constructor Detail
-
RestChannelInitializer
public RestChannelInitializer(RestServer restServer, org.infinispan.server.core.transport.NettyTransport transport)
Creates newRestChannelInitializer
.- Parameters:
restServer
- Rest Server this initializer belongs to.transport
- Netty transport.
-
-