NettyChannelBuilder |
NettyChannelBuilder.channelFactory(ChannelFactory<? extends Channel> channelFactory) |
|
NettyChannelBuilder |
NettyChannelBuilder.channelFactory(ChannelFactory<? extends Channel> channelFactory,
Class<? extends SocketAddress> transportSocketType) |
|
NettyChannelBuilder |
NettyChannelBuilder.channelType(Class<? extends Channel> channelType) |
Specifies the channel type to use, by default we use EpollSocketChannel if available,
otherwise using NioSocketChannel .
|
NettyChannelBuilder |
NettyChannelBuilder.channelType(Class<? extends Channel> channelType,
Class<? extends SocketAddress> transportSocketType) |
Similar to channelType(Class) above but allows the
caller to specify the socket-type associated with the channelType.
|
NettyChannelBuilder |
NettyChannelBuilder.eventLoopGroup(EventLoopGroup eventLoopGroup) |
Provides an EventGroupLoop to be used by the netty transport.
|
NettyChannelBuilder |
NettyChannelBuilder.flowControlWindow(int flowControlWindow) |
Sets the flow control window in bytes.
|
static NettyChannelBuilder |
NettyChannelBuilder.forAddress(String host,
int port) |
Creates a new builder with the given host and port.
|
static NettyChannelBuilder |
NettyChannelBuilder.forAddress(String host,
int port,
ChannelCredentials creds) |
Creates a new builder with the given host and port.
|
static NettyChannelBuilder |
NettyChannelBuilder.forAddress(SocketAddress serverAddress) |
Creates a new builder with the given server address.
|
static NettyChannelBuilder |
NettyChannelBuilder.forAddress(SocketAddress serverAddress,
ChannelCredentials creds) |
Creates a new builder with the given server address.
|
static NettyChannelBuilder |
NettyChannelBuilder.forTarget(String target) |
Creates a new builder with the given target string that will be resolved by
NameResolver .
|
static NettyChannelBuilder |
NettyChannelBuilder.forTarget(String target,
ChannelCredentials creds) |
Creates a new builder with the given target string that will be resolved by
NameResolver .
|
NettyChannelBuilder |
NettyChannelBuilder.initialFlowControlWindow(int initialFlowControlWindow) |
Sets the initial flow control window in bytes.
|
NettyChannelBuilder |
NettyChannelBuilder.keepAliveTime(long keepAliveTime,
TimeUnit timeUnit) |
Sets the time without read activity before sending a keepalive ping.
|
NettyChannelBuilder |
NettyChannelBuilder.keepAliveTimeout(long keepAliveTimeout,
TimeUnit timeUnit) |
Sets the time waiting for read activity after sending a keepalive ping.
|
NettyChannelBuilder |
NettyChannelBuilder.keepAliveWithoutCalls(boolean enable) |
Sets whether keepalive will be performed when there are no outstanding RPC on a connection.
|
NettyChannelBuilder |
NettyChannelBuilder.localSocketPicker(NettyChannelBuilder.LocalSocketPicker localSocketPicker) |
If non-null , attempts to create connections bound to a local port.
|
NettyChannelBuilder |
NettyChannelBuilder.maxHeaderListSize(int maxHeaderListSize) |
Deprecated.
|
NettyChannelBuilder |
NettyChannelBuilder.maxInboundMessageSize(int max) |
Sets the maximum message size allowed for a single gRPC frame.
|
NettyChannelBuilder |
NettyChannelBuilder.maxInboundMetadataSize(int bytes) |
Sets the maximum size of metadata allowed to be received.
|
NettyChannelBuilder |
NettyChannelBuilder.negotiationType(NegotiationType type) |
Sets the negotiation type for the HTTP/2 connection.
|
NettyChannelBuilder |
NettyChannelBuilder.sslContext(SslContext sslContext) |
SSL/TLS context to use instead of the system default.
|
NettyChannelBuilder |
NettyChannelBuilder.usePlaintext() |
|
NettyChannelBuilder |
NettyChannelBuilder.useTransportSecurity() |
|
<T> NettyChannelBuilder |
NettyChannelBuilder.withOption(ChannelOption<T> option,
T value) |
Specifies a channel option.
|