Package org.infinispan.rest
Class ALPNHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
org.infinispan.rest.ALPNHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class ALPNHandler
extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
Handler responsible for TLS/ALPN negotiation.
- Author:
- Sebastian Ćaskawiec
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configurePipeline
(io.netty.channel.ChannelHandlerContext ctx, String protocol) static void
configurePipeline
(io.netty.channel.ChannelPipeline pipeline, String protocol, RestServer restServer, Map<String, ProtocolServer<?>> upgradeServers) Methods inherited from class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggered
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
restServer
-
-
Constructor Details
-
ALPNHandler
-
-
Method Details
-
configurePipeline
- Specified by:
configurePipeline
in classio.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
configurePipeline
public static void configurePipeline(io.netty.channel.ChannelPipeline pipeline, String protocol, RestServer restServer, Map<String, ProtocolServer<?>> upgradeServers)
-