类 OptionalTlsProtocolNegotiator.PortUnificationServerHandler

  • 所有已实现的接口:
    io.grpc.netty.shaded.io.netty.channel.ChannelHandler, io.grpc.netty.shaded.io.netty.channel.ChannelInboundHandler
    封闭类:
    OptionalTlsProtocolNegotiator

    public class OptionalTlsProtocolNegotiator.PortUnificationServerHandler
    extends io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder
    • 嵌套类概要

      • 从类继承的嵌套类/接口 io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder

        io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder.Cumulator
      • 从接口继承的嵌套类/接口 io.grpc.netty.shaded.io.netty.channel.ChannelHandler

        io.grpc.netty.shaded.io.netty.channel.ChannelHandler.Sharable
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      private io.grpc.netty.shaded.io.netty.channel.ChannelHandler plaintext  
      private io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiationEvent pne  
      private io.grpc.netty.shaded.io.netty.channel.ChannelHandler ssl  
      • 从类继承的字段 io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder

        COMPOSITE_CUMULATOR, MERGE_CUMULATOR
    • 构造器概要

      构造器 
      构造器 说明
      PortUnificationServerHandler​(io.grpc.netty.shaded.io.netty.channel.ChannelHandler ssl, io.grpc.netty.shaded.io.netty.channel.ChannelHandler plaintext)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected void decode​(io.grpc.netty.shaded.io.netty.channel.ChannelHandlerContext ctx, io.grpc.netty.shaded.io.netty.buffer.ByteBuf in, java.util.List<java.lang.Object> out)  
      private boolean isSsl​(io.grpc.netty.shaded.io.netty.buffer.ByteBuf buf)  
      • 从类继承的方法 io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder

        actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
      • 从类继承的方法 io.grpc.netty.shaded.io.netty.channel.ChannelInboundHandlerAdapter

        channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
      • 从类继承的方法 io.grpc.netty.shaded.io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerAdded, isSharable
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 io.grpc.netty.shaded.io.netty.channel.ChannelHandler

        handlerAdded
    • 字段详细资料

      • pne

        private io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiationEvent pne
      • ssl

        private final io.grpc.netty.shaded.io.netty.channel.ChannelHandler ssl
      • plaintext

        private final io.grpc.netty.shaded.io.netty.channel.ChannelHandler plaintext
    • 构造器详细资料

      • PortUnificationServerHandler

        public PortUnificationServerHandler​(io.grpc.netty.shaded.io.netty.channel.ChannelHandler ssl,
                                            io.grpc.netty.shaded.io.netty.channel.ChannelHandler plaintext)
    • 方法详细资料

      • isSsl

        private boolean isSsl​(io.grpc.netty.shaded.io.netty.buffer.ByteBuf buf)
      • decode

        protected void decode​(io.grpc.netty.shaded.io.netty.channel.ChannelHandlerContext ctx,
                              io.grpc.netty.shaded.io.netty.buffer.ByteBuf in,
                              java.util.List<java.lang.Object> out)
                       throws java.lang.Exception
        指定者:
        decode 在类中 io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder
        抛出:
        java.lang.Exception