类 OptionalTlsProtocolNegotiator.PortUnificationServerHandler
- java.lang.Object
-
- io.grpc.netty.shaded.io.netty.channel.ChannelHandlerAdapter
-
- io.grpc.netty.shaded.io.netty.channel.ChannelInboundHandlerAdapter
-
- io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder
-
- com.alibaba.nacos.core.remote.grpc.OptionalTlsProtocolNegotiator.PortUnificationServerHandler
-
- 所有已实现的接口:
io.grpc.netty.shaded.io.netty.channel.ChannelHandler,io.grpc.netty.shaded.io.netty.channel.ChannelInboundHandler
public class OptionalTlsProtocolNegotiator.PortUnificationServerHandler extends io.grpc.netty.shaded.io.netty.handler.codec.ByteToMessageDecoder
-
-
构造器概要
构造器 构造器 说明 PortUnificationServerHandler(io.grpc.netty.shaded.io.netty.channel.ChannelHandler ssl, io.grpc.netty.shaded.io.netty.channel.ChannelHandler plaintext)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voiddecode(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 booleanisSsl(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
-
-
-
-
方法详细资料
-
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
-
-