Class SecurityProtocolNegotiators.HandlerPickerHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
    Enclosing class:
    SecurityProtocolNegotiators

    static final class SecurityProtocolNegotiators.HandlerPickerHandler
    extends io.netty.channel.ChannelInboundHandlerAdapter
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator fallbackProtocolNegotiator  
      private io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler  
    • Constructor Summary

      Constructors 
      Constructor Description
      HandlerPickerHandler​(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler, io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator fallbackProtocolNegotiator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void userEventTriggered​(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object evt)  
      • Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

        channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
    • Field Detail

      • grpcHandler

        private final io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler
      • fallbackProtocolNegotiator

        @Nullable
        private final io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator fallbackProtocolNegotiator
    • Constructor Detail

      • HandlerPickerHandler

        HandlerPickerHandler​(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler,
                             @Nullable
                             io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator fallbackProtocolNegotiator)
    • Method Detail

      • userEventTriggered

        public void userEventTriggered​(io.netty.channel.ChannelHandlerContext ctx,
                                       java.lang.Object evt)
                                throws java.lang.Exception
        Specified by:
        userEventTriggered in interface io.netty.channel.ChannelInboundHandler
        Overrides:
        userEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapter
        Throws:
        java.lang.Exception