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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final RestServer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ALPNHandler(RestServer restServer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)
     
    static void
    configurePipeline(io.netty.channel.ChannelPipeline pipeline, String protocol, RestServer restServer, Map<String,org.infinispan.server.core.ProtocolServer<?>> upgradeServers)
     
  • Field Details

    • restServer

      protected final RestServer restServer
  • Constructor Details

    • ALPNHandler

      public ALPNHandler(RestServer restServer)
  • Method Details

    • configurePipeline

      public void configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)
    • configurePipeline

      public static void configurePipeline(io.netty.channel.ChannelPipeline pipeline, String protocol, RestServer restServer, Map<String,org.infinispan.server.core.ProtocolServer<?>> upgradeServers)