ChannelFactory
to create Channel
instances.EpollSocketChannel
if available,
otherwise using NioSocketChannel
.NioServerSocketChannel
or EpollServerSocketChannel
.SocketAddress
.NameResolver
.Http2ConnectionHandler
.ProtocolNegotiators.GrpcNegotiationHandler
.NettyHandlerSettings
.NettyChannelBuilder
accessor.InternalNettyServerBuilder
accessor.ProtocolNegotiationEvent
.InternalProtocolNegotiator.ProtocolNegotiator
.ProtocolNegotiators
.ProtocolNegotiators.AbstractBufferingHandler.writeBufferedAndRemove(ChannelHandlerContext)
or
ProtocolNegotiators.AbstractBufferingHandler.fail(ChannelHandlerContext, Throwable)
is called.WriteBufferingAndExceptionHandler
.null
, attempts to create connections bound to a local port.NettyChannelBuilder.maxInboundMetadataSize(int)
insteadNettyServerBuilder.maxInboundMetadataSize(int)
insteadNettyServerBuilder.maxInboundMessageSize(int)
instead. This method will be removed in a
future release.NettyChannelBuilder.LocalSocketPicker.createSocketAddress(java.net.SocketAddress, io.grpc.Attributes)
.NettyChannelBuilder
instances.NettyChannelBuilder
instances.ProtocolNegotiator
to be used.InternalNettyChannelBuilder.ProtocolNegotiatorFactory
to be used.ProtocolNegotiator
that ensures the pipeline is set up so that TLS will
be negotiated, the handler
is added and writes to the Channel
may happen immediately, even before the TLS Handshake is complete.Channel
and EventLoopGroup
to Nio.Channel
and EventLoopGroup
s to Nio.NettyChannelBuilder.usePlaintext()
instead.NettyChannelBuilder.negotiationType(NegotiationType)
with PLAINTEXT
.NettyChannelBuilder.negotiationType(NegotiationType)
with TLS
.ProtocolNegotiators.WaitUntilActiveHandler
.WriteBufferingAndExceptionHandler
from ChannelPipeline
.Copyright © 2019. All rights reserved.