Class ProtocolNegotiators.ServerTlsHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.grpc.netty.ProtocolNegotiators.ServerTlsHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
- Enclosing class:
ProtocolNegotiators
static final class ProtocolNegotiators.ServerTlsHandler
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
FieldsModifier and TypeFieldDescriptionprivate Executorprivate final io.netty.channel.ChannelHandlerprivate ProtocolNegotiationEventprivate final io.netty.handler.ssl.SslContext -
Constructor Summary
ConstructorsConstructorDescriptionServerTlsHandler(io.netty.channel.ChannelHandler next, io.netty.handler.ssl.SslContext sslContext, ObjectPool<? extends Executor> executorPool) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidfireProtocolNegotiationEvent(io.netty.channel.ChannelHandlerContext ctx, SSLSession session) voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) voiduserEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved, isSharableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerRemoved
-
Field Details
-
executor
-
next
private final io.netty.channel.ChannelHandler next -
sslContext
private final io.netty.handler.ssl.SslContext sslContext -
pne
-
-
Constructor Details
-
ServerTlsHandler
ServerTlsHandler(io.netty.channel.ChannelHandler next, io.netty.handler.ssl.SslContext sslContext, ObjectPool<? extends Executor> executorPool)
-
-
Method Details
-
handlerAdded
-
userEventTriggered
-
fireProtocolNegotiationEvent
private void fireProtocolNegotiationEvent(io.netty.channel.ChannelHandlerContext ctx, SSLSession session)
-