A B C D E F G I K L M N P S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addListenAddress(SocketAddress) - Method in class io.grpc.netty.NettyServerBuilder
-
Adds an additional address for this server to listen on.
B
- bossEventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyServerBuilder
-
Provides the boss EventGroupLoop to the server.
C
- channelFactory(ChannelFactory<? extends Channel>) - Method in class io.grpc.netty.NettyChannelBuilder
-
Specifies the
ChannelFactory
to createChannel
instances. - channelFactory(ChannelFactory<? extends Channel>, Class<? extends SocketAddress>) - Method in class io.grpc.netty.NettyChannelBuilder
-
Similar to
NettyChannelBuilder.channelFactory(ChannelFactory)
above but allows the caller to specify the socket-type associated with the channelFactory. - channelFactory(ChannelFactory<? extends ServerChannel>) - Method in class io.grpc.netty.NettyServerBuilder
-
Specifies the
ChannelFactory
to createServerChannel
instances. - channelType(Class<? extends Channel>) - Method in class io.grpc.netty.NettyChannelBuilder
-
Specifies the channel type to use, by default we use
EpollSocketChannel
if available, otherwise usingNioSocketChannel
. - channelType(Class<? extends Channel>, Class<? extends SocketAddress>) - Method in class io.grpc.netty.NettyChannelBuilder
-
Similar to
NettyChannelBuilder.channelType(Class)
above but allows the caller to specify the socket-type associated with the channelType. - channelType(Class<? extends ServerChannel>) - Method in class io.grpc.netty.NettyServerBuilder
-
Specifies the channel type to use, by default we use
EpollServerSocketChannel
if available, otherwise usingNioServerSocketChannel
. - configure(SslContextBuilder) - Static method in class io.grpc.netty.GrpcSslContexts
-
Set ciphers and APN appropriate for gRPC.
- configure(SslContextBuilder, SslProvider) - Static method in class io.grpc.netty.GrpcSslContexts
-
Set ciphers and APN appropriate for gRPC.
- configure(SslContextBuilder, Provider) - Static method in class io.grpc.netty.GrpcSslContexts
-
Set ciphers and APN appropriate for gRPC.
- create() - Static method in class io.grpc.netty.InsecureFromHttp1ChannelCredentials
-
Creates an insecure credential that will upgrade from HTTP/1 to HTTP/2.
- create(SslContext) - Static method in class io.grpc.netty.NettySslContextChannelCredentials
-
Create a credential using Netty's SslContext as configuration.
- create(SslContext) - Static method in class io.grpc.netty.NettySslContextServerCredentials
-
Create a credential using Netty's SslContext as configuration.
- createSocketAddress(SocketAddress, Attributes) - Method in class io.grpc.netty.NettyChannelBuilder.LocalSocketPicker
-
Called by gRPC to pick local socket to bind to.
D
- DEFAULT_FLOW_CONTROL_WINDOW - Static variable in class io.grpc.netty.NettyChannelBuilder
- DEFAULT_FLOW_CONTROL_WINDOW - Static variable in class io.grpc.netty.NettyServerBuilder
- delegate() - Method in class io.grpc.netty.NettyChannelBuilder
- delegate() - Method in class io.grpc.netty.NettyServerBuilder
E
- eventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyChannelBuilder
-
Provides an EventGroupLoop to be used by the netty transport.
F
- flowControlWindow(int) - Method in class io.grpc.netty.NettyChannelBuilder
-
Sets the flow control window in bytes.
- flowControlWindow(int) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets the flow control window in bytes.
- forAddress(String, int) - Static method in class io.grpc.netty.NettyChannelBuilder
-
Creates a new builder with the given host and port.
- forAddress(String, int, ChannelCredentials) - Static method in class io.grpc.netty.NettyChannelBuilder
-
Creates a new builder with the given host and port.
- forAddress(SocketAddress) - Static method in class io.grpc.netty.NettyChannelBuilder
-
Creates a new builder with the given server address.
- forAddress(SocketAddress) - Static method in class io.grpc.netty.NettyServerBuilder
-
Creates a server builder configured with the given
SocketAddress
. - forAddress(SocketAddress, ChannelCredentials) - Static method in class io.grpc.netty.NettyChannelBuilder
-
Creates a new builder with the given server address.
- forAddress(SocketAddress, ServerCredentials) - Static method in class io.grpc.netty.NettyServerBuilder
-
Creates a server builder configured with the given
SocketAddress
. - forClient() - Static method in class io.grpc.netty.GrpcSslContexts
-
Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
- forPort(int) - Static method in class io.grpc.netty.NettyServerBuilder
-
Creates a server builder that will bind to the given port.
- forPort(int, ServerCredentials) - Static method in class io.grpc.netty.NettyServerBuilder
-
Creates a server builder that will bind to the given port.
- forServer(File, File) - Static method in class io.grpc.netty.GrpcSslContexts
-
Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
- forServer(File, File, String) - Static method in class io.grpc.netty.GrpcSslContexts
-
Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
- forServer(InputStream, InputStream) - Static method in class io.grpc.netty.GrpcSslContexts
-
Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
- forServer(InputStream, InputStream, String) - Static method in class io.grpc.netty.GrpcSslContexts
-
Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
- forTarget(String) - Static method in class io.grpc.netty.NettyChannelBuilder
-
Creates a new builder with the given target string that will be resolved by
NameResolver
. - forTarget(String, ChannelCredentials) - Static method in class io.grpc.netty.NettyChannelBuilder
-
Creates a new builder with the given target string that will be resolved by
NameResolver
.
G
- GrpcSslContexts - Class in io.grpc.netty
-
Utility for configuring SslContext for gRPC.
I
- initialFlowControlWindow(int) - Method in class io.grpc.netty.NettyChannelBuilder
-
Sets the initial flow control window in bytes.
- initialFlowControlWindow(int) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets the initial flow control window in bytes.
- InsecureFromHttp1ChannelCredentials - Class in io.grpc.netty
-
An insecure credential that upgrades from HTTP/1 to HTTP/2.
- io.grpc.netty - package io.grpc.netty
-
The main transport implementation based on Netty, for both the client and the server.
K
- keepAliveTime(long, TimeUnit) - Method in class io.grpc.netty.NettyChannelBuilder
- keepAliveTime(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets a custom keepalive time, the delay time for sending next keepalive ping.
- keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.netty.NettyChannelBuilder
- keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets a custom keepalive timeout, the timeout for keepalive ping requests.
- keepAliveWithoutCalls(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
L
- localSocketPicker(NettyChannelBuilder.LocalSocketPicker) - Method in class io.grpc.netty.NettyChannelBuilder
-
If non-
null
, attempts to create connections bound to a local port. - LocalSocketPicker() - Constructor for class io.grpc.netty.NettyChannelBuilder.LocalSocketPicker
M
- maxConcurrentCallsPerConnection(int) - Method in class io.grpc.netty.NettyServerBuilder
-
The maximum number of concurrent calls permitted for each incoming connection.
- maxConnectionAge(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets a custom max connection age, connection lasting longer than which will be gracefully terminated.
- maxConnectionAgeGrace(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets a custom grace time for the graceful connection termination.
- maxConnectionIdle(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets a custom max connection idle time, connection being idle for longer than which will be gracefully terminated.
- maxHeaderListSize(int) - Method in class io.grpc.netty.NettyChannelBuilder
-
Deprecated.Use
NettyChannelBuilder.maxInboundMetadataSize(int)
instead - maxHeaderListSize(int) - Method in class io.grpc.netty.NettyServerBuilder
-
Deprecated.Use
NettyServerBuilder.maxInboundMetadataSize(int)
instead - maxInboundMessageSize(int) - Method in class io.grpc.netty.NettyChannelBuilder
-
Sets the maximum message size allowed for a single gRPC frame.
- maxInboundMessageSize(int) - Method in class io.grpc.netty.NettyServerBuilder
- maxInboundMetadataSize(int) - Method in class io.grpc.netty.NettyChannelBuilder
-
Sets the maximum size of metadata allowed to be received.
- maxInboundMetadataSize(int) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets the maximum size of metadata allowed to be received.
- maxMessageSize(int) - Method in class io.grpc.netty.NettyServerBuilder
-
Deprecated.Call
NettyServerBuilder.maxInboundMessageSize(int)
instead. This method will be removed in a future release. - maxRstFramesPerWindow(int, int) - Method in class io.grpc.netty.NettyServerBuilder
-
Limits the rate of incoming RST_STREAM frames per connection to maxRstStream per secondsPerWindow.
N
- negotiationType(NegotiationType) - Method in class io.grpc.netty.NettyChannelBuilder
-
Sets the negotiation type for the HTTP/2 connection.
- NegotiationType - Enum in io.grpc.netty
-
Identifies the negotiation used for starting up HTTP/2.
- NettyChannelBuilder - Class in io.grpc.netty
-
A builder to help simplify construction of channels using the Netty transport.
- NettyChannelBuilder.LocalSocketPicker - Class in io.grpc.netty
-
This class is meant to be overriden with a custom implementation of
createSocketAddress(java.net.SocketAddress, io.grpc.Attributes)
. - NettyServerBuilder - Class in io.grpc.netty
-
A builder to help simplify the construction of a Netty-based GRPC server.
- NettySslContextChannelCredentials - Class in io.grpc.netty
-
A credential that performs TLS with Netty's SslContext as configuration.
- NettySslContextServerCredentials - Class in io.grpc.netty
-
A credential that performs TLS with Netty's SslContext as configuration.
P
- permitKeepAliveTime(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
-
Specify the most aggressive keep-alive time clients are permitted to configure.
- permitKeepAliveWithoutCalls(boolean) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
- PLAINTEXT - io.grpc.netty.NegotiationType
-
Just assume the connection is plaintext (non-SSL) and the remote endpoint supports HTTP/2 directly without an upgrade.
- PLAINTEXT_UPGRADE - io.grpc.netty.NegotiationType
-
Use the HTTP UPGRADE protocol for a plaintext (non-SSL) upgrade from HTTP/1.1 to HTTP/2.
- protocolNegotiator(ProtocolNegotiator) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets the
ProtocolNegotiator
to be used.
S
- sslContext(SslContext) - Method in class io.grpc.netty.NettyChannelBuilder
-
SSL/TLS context to use instead of the system default.
- sslContext(SslContext) - Method in class io.grpc.netty.NettyServerBuilder
-
Sets the TLS context to use for encryption.
T
- TLS - io.grpc.netty.NegotiationType
-
Uses TLS ALPN/NPN negotiation, assumes an SSL connection.
U
- usePlaintext() - Method in class io.grpc.netty.NettyChannelBuilder
-
Equivalent to using
NettyChannelBuilder.negotiationType(NegotiationType)
withPLAINTEXT
. - useTransportSecurity() - Method in class io.grpc.netty.NettyChannelBuilder
-
Equivalent to using
NettyChannelBuilder.negotiationType(NegotiationType)
withTLS
. - useTransportSecurity(File, File) - Method in class io.grpc.netty.NettyServerBuilder
- useTransportSecurity(InputStream, InputStream) - Method in class io.grpc.netty.NettyServerBuilder
V
- valueOf(String) - Static method in enum io.grpc.netty.NegotiationType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.grpc.netty.NegotiationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withChildOption(ChannelOption<T>, T) - Method in class io.grpc.netty.NettyServerBuilder
-
Specifies a child channel option.
- withOption(ChannelOption<T>, T) - Method in class io.grpc.netty.NettyChannelBuilder
-
Specifies a channel option.
- withOption(ChannelOption<T>, T) - Method in class io.grpc.netty.NettyServerBuilder
-
Specifies a channel option.
- workerEventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyServerBuilder
-
Provides the worker EventGroupLoop to the server.
All Classes All Packages