Uses of Interface
io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator
Packages that use InternalProtocolNegotiator.ProtocolNegotiator
Package
Description
The main transport implementation based on Netty,
for both the client and the server.
-
Uses of InternalProtocolNegotiator.ProtocolNegotiator in io.grpc.netty
Classes in io.grpc.netty that implement InternalProtocolNegotiator.ProtocolNegotiatorModifier and TypeClassDescription(package private) static final classMethods in io.grpc.netty that return InternalProtocolNegotiator.ProtocolNegotiatorModifier and TypeMethodDescriptionInternalNettyChannelBuilder.ProtocolNegotiatorFactory.buildProtocolNegotiator()InternalProtocolNegotiator.ClientFactory.newNegotiator()InternalProtocolNegotiator.ServerFactory.newNegotiator(ObjectPool<? extends Executor> offloadExecutorPool) InternalProtocolNegotiators.plaintext()Returns aProtocolNegotiatorfor plaintext client channel.InternalProtocolNegotiators.serverPlaintext()Returns aProtocolNegotiatorfor plaintext server channel.InternalProtocolNegotiators.serverTls(io.netty.handler.ssl.SslContext sslContext) Returns aProtocolNegotiatorthat ensures the pipeline is set up so that TLS will be negotiated, the server TLShandleris added and writes to theChannelmay happen immediately, even before the TLS Handshake is complete.InternalProtocolNegotiators.tls(io.netty.handler.ssl.SslContext sslContext) Returns aProtocolNegotiatorthat ensures the pipeline is set up so that TLS will be negotiated, thehandleris added and writes to theChannelmay happen immediately, even before the TLS Handshake is complete.InternalProtocolNegotiators.tls(io.netty.handler.ssl.SslContext sslContext, ObjectPool<? extends Executor> executorPool, Optional<Runnable> handshakeCompleteRunnable) Returns aProtocolNegotiatorthat ensures the pipeline is set up so that TLS will be negotiated, thehandleris added and writes to theChannelmay happen immediately, even before the TLS Handshake is complete.Methods in io.grpc.netty with parameters of type InternalProtocolNegotiator.ProtocolNegotiatorModifier and TypeMethodDescriptionstatic ServerCredentialsInternalNettyServerCredentials.create(InternalProtocolNegotiator.ProtocolNegotiator negotiator) Creates aServerCredentialsthat will use the providednegotiator.