Skip navigation links
A B C D E F G H I K M N P S T U V W 

A

AbstractBufferingHandler(ChannelHandler...) - Constructor for class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
 
autoWindowOn(boolean) - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 

B

bossEventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyServerBuilder
Provides the boss EventGroupLoop to the server.
builderForAddress(String, int) - Method in class io.grpc.netty.NettyChannelProvider
 
builderForPort(int) - Method in class io.grpc.netty.NettyServerProvider
 
builderForTarget(String) - Method in class io.grpc.netty.NettyChannelProvider
 
buildTransportFactory() - Method in class io.grpc.netty.NettyChannelBuilder
 
buildTransportServer(List<ServerStreamTracer.Factory>) - Method in class io.grpc.netty.NettyServerBuilder
 

C

channelInactive(ChannelHandlerContext) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
If this channel becomes inactive, then notify all buffered writes that we failed.
channelRegistered(ChannelHandlerContext) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
When this channel is registered, we will add all the ChannelHandlers passed into our constructor to the pipeline.
channelType(Class<? extends Channel>) - Method in class io.grpc.netty.NettyChannelBuilder
Specifies the channel type to use, by default we use NioSocketChannel.
channelType(Class<? extends ServerChannel>) - Method in class io.grpc.netty.NettyServerBuilder
Specify the channel type to use, by default we use NioServerSocketChannel.
checkAuthority(String) - Method in class io.grpc.netty.NettyChannelBuilder
 
close(ChannelHandlerContext, ChannelPromise) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
If we are still performing protocol negotiation, then this will propagate failures to all buffered writes.
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.
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
Do not rely on channel handlers to propagate exceptions to us.

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
 

E

enable(boolean) - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 
enableKeepAlive(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
enableKeepAlive(boolean, long, TimeUnit, long, TimeUnit) - Method in class io.grpc.netty.NettyChannelBuilder
eventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyChannelBuilder
Provides an EventGroupLoop to be used by the netty transport.
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
If we encounter an exception, then notify all buffered writes that we failed.

F

fail(ChannelHandlerContext, Throwable) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
Propagate failures to all buffered writes.
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 HTTP/2 flow control window.
flush(ChannelHandlerContext) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
Calls to this method will not trigger an immediate flush.
forAddress(SocketAddress) - Static method in class io.grpc.netty.NettyChannelBuilder
Creates a new builder with the given server address.
forAddress(String, int) - 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.NettyServerBuilder
Creates a server builder configured with the given SocketAddress.
forClient() - Static method in class io.grpc.netty.GrpcSslContexts
Creates a 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.
forServer(File, File) - Static method in class io.grpc.netty.GrpcSslContexts
Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
forServer(File, File, String) - Static method in class io.grpc.netty.GrpcSslContexts
Creates a 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.

G

getLatestClientWindow() - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 
getLatestServerWindow() - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 
getNameResolverParams() - Method in class io.grpc.netty.NettyChannelBuilder
 
GrpcHttp2ConnectionHandler - Class in io.grpc.netty
gRPC wrapper for Http2ConnectionHandler.
GrpcHttp2ConnectionHandler(Http2ConnectionDecoder, Http2ConnectionEncoder, Http2Settings) - Constructor for class io.grpc.netty.GrpcHttp2ConnectionHandler
 
GrpcSslContexts - Class in io.grpc.netty
Utility for configuring SslContext for gRPC.

H

handleProtocolNegotiationCompleted(Attributes) - Method in class io.grpc.netty.GrpcHttp2ConnectionHandler
Triggered on protocol negotiation completion.
HandlerSettings - Class in io.grpc.netty
Deprecated.
renamed to InternalHandlerSettings and should not be used externally
HandlerSettings() - Constructor for class io.grpc.netty.HandlerSettings
Deprecated.
 
httpProxy(SocketAddress, String, String, ProtocolNegotiator) - Static method in class io.grpc.netty.ProtocolNegotiators
Returns a ProtocolNegotiator that does HTTP CONNECT proxy negotiation.

I

io.grpc.netty - package io.grpc.netty
The main transport implementation based on Netty, for both the client and the server.
isAvailable() - Method in class io.grpc.netty.NettyChannelProvider
 
isAvailable() - Method in class io.grpc.netty.NettyServerProvider
 

K

keepAliveTime(long, TimeUnit) - Method in class io.grpc.netty.NettyChannelBuilder
Sets the time without read activity before sending a keepalive ping.
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
Sets the time waiting for read activity after sending a keepalive ping.
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
Sets whether keepalive will be performed when there are no outstanding RPC on a connection.

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
Sets the maximum size of header list allowed to be received.
maxHeaderListSize(int) - Method in class io.grpc.netty.NettyServerBuilder
Sets the maximum size of header list allowed to be received.
maxMessageSize(int) - Method in class io.grpc.netty.NettyChannelBuilder
Deprecated.
Use AbstractManagedChannelImplBuilder.maxInboundMessageSize instead
maxMessageSize(int) - Method in class io.grpc.netty.NettyServerBuilder
Sets the maximum message size allowed to be received on the server.

N

NegotiationType - Enum in io.grpc.netty
Identifies the negotiation used for starting up HTTP/2.
negotiationType(NegotiationType) - Method in class io.grpc.netty.NettyChannelBuilder
Sets the negotiation type for the HTTP/2 connection.
NettyChannelBuilder - Class in io.grpc.netty
A builder to help simplify construction of channels using the Netty transport.
NettyChannelProvider - Class in io.grpc.netty
Provider for NettyChannelBuilder instances.
NettyChannelProvider() - Constructor for class io.grpc.netty.NettyChannelProvider
 
NettyServerBuilder - Class in io.grpc.netty
A builder to help simplify the construction of a Netty-based GRPC server.
NettyServerProvider - Class in io.grpc.netty
Provider for NettyChannelBuilder instances.
NettyServerProvider() - Constructor for class io.grpc.netty.NettyServerProvider
 
newHandler(GrpcHttp2ConnectionHandler) - Method in interface io.grpc.netty.ProtocolNegotiator
Creates a new handler to control the protocol negotiation.

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() - Static method in class io.grpc.netty.ProtocolNegotiators
Returns a ChannelHandler that ensures that the handler is added to the pipeline writes to the Channel may happen immediately, even before it is active.
plaintextUpgrade() - Static method in class io.grpc.netty.ProtocolNegotiators
Returns a ProtocolNegotiator used for upgrading to HTTP/2 from HTTP/1.x.
priority() - Method in class io.grpc.netty.NettyChannelProvider
 
priority() - Method in class io.grpc.netty.NettyServerProvider
 
protocolNegotiator(ProtocolNegotiator) - Method in class io.grpc.netty.NettyServerBuilder
Sets the ProtocolNegotiator to be used.
ProtocolNegotiator - Interface in io.grpc.netty
A class that provides a Netty handler to control protocol negotiation.
ProtocolNegotiator.Handler - Interface in io.grpc.netty
The Netty handler to control the protocol negotiation.
ProtocolNegotiators - Class in io.grpc.netty
Common ProtocolNegotiators used by gRPC.
ProtocolNegotiators.AbstractBufferingHandler - Class in io.grpc.netty

S

scheme() - Method in interface io.grpc.netty.ProtocolNegotiator.Handler
The HTTP/2 scheme to be used when sending HEADERS.
serverPlaintext() - Static method in class io.grpc.netty.ProtocolNegotiators
Create a server plaintext handler for gRPC.
serverTls(SslContext) - Static method in class io.grpc.netty.ProtocolNegotiators
Create a server TLS handler for HTTP/2 capable of using ALPN/NPN.
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(SslContext, String) - Static method in class io.grpc.netty.ProtocolNegotiators
Returns a 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.

U

usePlaintext(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
Equivalent to using NettyChannelBuilder.negotiationType(NegotiationType) with PLAINTEXT or PLAINTEXT_UPGRADE.
useTransportSecurity(File, File) - 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

withOption(ChannelOption<T>, T) - Method in class io.grpc.netty.NettyChannelBuilder
Specifies a channel option.
workerEventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyServerBuilder
Provides the worker EventGroupLoop to the server.
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
Buffers the write until either ProtocolNegotiators.AbstractBufferingHandler.writeBufferedAndRemove(ChannelHandlerContext) is called, or we have somehow failed.
writeBufferedAndRemove(ChannelHandlerContext) - Method in class io.grpc.netty.ProtocolNegotiators.AbstractBufferingHandler
 
A B C D E F G H I K M N P S T U V W 
Skip navigation links