Class SecurityProtocolNegotiators.ClientSecurityHandler

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

    static final class SecurityProtocolNegotiators.ClientSecurityHandler
    extends io.grpc.netty.InternalProtocolNegotiators.ProtocolNegotiationHandler
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void exceptionCaught​(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable cause)  
      protected void fireProtocolNegotiationEvent​(io.netty.channel.ChannelHandlerContext arg0)  
      protected io.grpc.netty.ProtocolNegotiationEvent getProtocolNegotiationEvent()  
      void handlerAdded​(io.netty.channel.ChannelHandlerContext arg0)  
      protected void handlerAdded0​(io.netty.channel.ChannelHandlerContext ctx)  
      protected void protocolNegotiationEventTriggered​(io.netty.channel.ChannelHandlerContext arg0)  
      protected void replaceProtocolNegotiationEvent​(io.grpc.netty.ProtocolNegotiationEvent arg0)  
      void userEventTriggered​(io.netty.channel.ChannelHandlerContext arg0, java.lang.Object arg1)  
      protected void userEventTriggered0​(io.netty.channel.ChannelHandlerContext arg0, java.lang.Object arg1)  
      • Methods inherited from class io.netty.channel.ChannelDuplexHandler

        bind, close, connect, deregister, disconnect, flush, read, write
      • Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

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

        ensureNotSharable, 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

        handlerRemoved
    • Field Detail

      • grpcHandler

        private final io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler
    • Constructor Detail

      • ClientSecurityHandler

        ClientSecurityHandler​(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler,
                              SslContextProviderSupplier sslContextProviderSupplier)
    • Method Detail

      • handlerAdded0

        protected void handlerAdded0​(io.netty.channel.ChannelHandlerContext ctx)
      • exceptionCaught

        public void exceptionCaught​(io.netty.channel.ChannelHandlerContext ctx,
                                    java.lang.Throwable cause)
                             throws java.lang.Exception
        Specified by:
        exceptionCaught in interface io.netty.channel.ChannelHandler
        Specified by:
        exceptionCaught in interface io.netty.channel.ChannelInboundHandler
        Overrides:
        exceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapter
        Throws:
        java.lang.Exception
      • handlerAdded

        public final void handlerAdded​(io.netty.channel.ChannelHandlerContext arg0)
                                throws java.lang.Exception
        Specified by:
        handlerAdded in interface io.netty.channel.ChannelHandler
        Overrides:
        handlerAdded in class io.netty.channel.ChannelHandlerAdapter
        Throws:
        java.lang.Exception
      • userEventTriggered

        public final void userEventTriggered​(io.netty.channel.ChannelHandlerContext arg0,
                                             java.lang.Object arg1)
                                      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
      • userEventTriggered0

        protected void userEventTriggered0​(io.netty.channel.ChannelHandlerContext arg0,
                                           java.lang.Object arg1)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • protocolNegotiationEventTriggered

        @ForOverride
        protected void protocolNegotiationEventTriggered​(io.netty.channel.ChannelHandlerContext arg0)
      • getProtocolNegotiationEvent

        protected final io.grpc.netty.ProtocolNegotiationEvent getProtocolNegotiationEvent()
      • replaceProtocolNegotiationEvent

        protected final void replaceProtocolNegotiationEvent​(io.grpc.netty.ProtocolNegotiationEvent arg0)
      • fireProtocolNegotiationEvent

        protected final void fireProtocolNegotiationEvent​(io.netty.channel.ChannelHandlerContext arg0)