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
Methods 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 aProtocolNegotiator
for plaintext client channel.InternalProtocolNegotiators.serverPlaintext()
Returns aProtocolNegotiator
for plaintext server channel.InternalProtocolNegotiators.serverTls
(io.netty.handler.ssl.SslContext sslContext) Returns aProtocolNegotiator
that ensures the pipeline is set up so that TLS will be negotiated, the server TLShandler
is added and writes to theChannel
may happen immediately, even before the TLS Handshake is complete.InternalProtocolNegotiators.tls
(io.netty.handler.ssl.SslContext sslContext) Returns aProtocolNegotiator
that ensures the pipeline is set up so that TLS will be negotiated, thehandler
is added and writes to theChannel
may 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 aProtocolNegotiator
that ensures the pipeline is set up so that TLS will be negotiated, thehandler
is added and writes to theChannel
may happen immediately, even before the TLS Handshake is complete.Methods in io.grpc.netty with parameters of type InternalProtocolNegotiator.ProtocolNegotiatorModifier and TypeMethodDescriptionstatic ServerCredentials
InternalNettyServerCredentials.create
(InternalProtocolNegotiator.ProtocolNegotiator negotiator) Creates aServerCredentials
that will use the providednegotiator
.