Class SecurityProtocolNegotiators.ServerSecurityHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.grpc.netty.InternalProtocolNegotiators.ProtocolNegotiationHandler
io.grpc.xds.internal.security.SecurityProtocolNegotiators.ServerSecurityHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler
- Enclosing class:
SecurityProtocolNegotiators
static final class SecurityProtocolNegotiators.ServerSecurityHandler
extends io.grpc.netty.InternalProtocolNegotiators.ProtocolNegotiationHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final io.grpc.netty.GrpcHttp2ConnectionHandlerprivate final SslContextProviderSupplier -
Constructor Summary
ConstructorsConstructorDescriptionServerSecurityHandler(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler, SslContextProviderSupplier sslContextProviderSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidfireProtocolNegotiationEvent(io.netty.channel.ChannelHandlerContext arg0) protected final io.grpc.netty.ProtocolNegotiationEventfinal voidhandlerAdded(io.netty.channel.ChannelHandlerContext arg0) protected voidhandlerAdded0(io.netty.channel.ChannelHandlerContext ctx) protected voidprotocolNegotiationEventTriggered(io.netty.channel.ChannelHandlerContext arg0) protected final voidreplaceProtocolNegotiationEvent(io.grpc.netty.ProtocolNegotiationEvent arg0) final voiduserEventTriggered(io.netty.channel.ChannelHandlerContext arg0, Object arg1) protected voiduserEventTriggered0(io.netty.channel.ChannelHandlerContext arg0, Object arg1) Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read, writeMethods 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
-
grpcHandler
private final io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler -
sslContextProviderSupplier
-
-
Constructor Details
-
ServerSecurityHandler
ServerSecurityHandler(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler, SslContextProviderSupplier sslContextProviderSupplier)
-
-
Method Details
-
handlerAdded0
protected void handlerAdded0(io.netty.channel.ChannelHandlerContext ctx) -
handlerAdded
-
userEventTriggered
-
userEventTriggered0
-
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)
-