C D F H I K M N O P S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- connectionSpec(ConnectionSpec) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
For secure connection, provides a ConnectionSpec to specify Cipher suite and TLS versions.
- create(SSLSocketFactory) - Static method in class io.grpc.okhttp.SslSocketFactoryChannelCredentials
- create(SSLSocketFactory) - Static method in class io.grpc.okhttp.SslSocketFactoryServerCredentials
- create(SSLSocketFactory, ConnectionSpec) - Static method in class io.grpc.okhttp.SslSocketFactoryServerCredentials
D
- DEFAULT_FLOW_CONTROL_WINDOW - Static variable in class io.grpc.okhttp.OkHttpChannelBuilder
- delegate() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
- delegate() - Method in class io.grpc.okhttp.OkHttpServerBuilder
F
- flowControlWindow(int) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Sets the flow control window in bytes.
- flowControlWindow(int) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets the flow control window in bytes.
- forAddress(String, int) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Creates a new builder for the given server host and port.
- forAddress(String, int, ChannelCredentials) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Creates a new builder with the given host and port.
- forPort(int) - Static method in class io.grpc.okhttp.OkHttpServerBuilder
-
Deprecated.
- forPort(int, ServerCredentials) - Static method in class io.grpc.okhttp.OkHttpServerBuilder
-
Creates a builder for a server listening on
port. - forPort(SocketAddress, ServerCredentials) - Static method in class io.grpc.okhttp.OkHttpServerBuilder
-
Creates a builder for a server listening on
address. - forTarget(String) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Creates a new builder for the given target that will be resolved by
NameResolver. - forTarget(String, ChannelCredentials) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Creates a new builder for the given target that will be resolved by
NameResolver.
H
- hostnameVerifier(HostnameVerifier) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Set the hostname verifier to use when using TLS negotiation.
I
- io.grpc.okhttp - package io.grpc.okhttp
-
A lightweight transport based on OkHttp, mainly for use on Android (client-only).
K
- keepAliveTime(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
- keepAliveTime(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets the time without read activity before sending a keepalive ping.
- keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
- keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets a time waiting for read activity after sending a keepalive ping.
- keepAliveWithoutCalls(boolean) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
M
- maxConcurrentCallsPerConnection(int) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
The maximum number of concurrent calls permitted for each incoming connection.
- maxConnectionAge(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets a custom max connection age, connection lasting longer than which will be gracefully terminated.
- maxConnectionAgeGrace(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets a custom grace time for the graceful connection termination.
- maxConnectionIdle(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets a custom max connection idle time, connection being idle for longer than which will be gracefully terminated.
- maxInboundMessageSize(int) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Sets the maximum message size allowed for a single gRPC frame.
- maxInboundMessageSize(int) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets the maximum message size allowed to be received on the server.
- maxInboundMetadataSize(int) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Sets the maximum size of metadata allowed to be received.
- maxInboundMetadataSize(int) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Sets the maximum size of metadata allowed to be received.
N
- negotiationType(NegotiationType) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Deprecated.use
usePlaintext()oruseTransportSecurity()instead. - NegotiationType - Enum in io.grpc.okhttp
-
Deprecated.
O
- OkHttpChannelBuilder - Class in io.grpc.okhttp
-
Convenience class for building channels with the OkHttp transport.
- OkHttpServerBuilder - Class in io.grpc.okhttp
-
Build servers with the OkHttp transport.
P
- permitKeepAliveTime(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Specify the most aggressive keep-alive time clients are permitted to configure.
- permitKeepAliveWithoutCalls(boolean) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
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.okhttp.NegotiationType
-
Deprecated.Just assume the connection is plaintext (non-SSL) and the remote endpoint supports HTTP/2 directly without an upgrade.
S
- scheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Provides a custom scheduled executor service.
- scheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Provides a custom scheduled executor service.
- socketFactory(ServerSocketFactory) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Override the default
ServerSocketFactoryused to listen. - socketFactory(SocketFactory) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Override the default
SocketFactoryused to create sockets. - sslSocketFactory(SSLSocketFactory) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Override the default
SSLSocketFactoryand enable TLS negotiation. - SslSocketFactoryChannelCredentials - Class in io.grpc.okhttp
-
A credential with full control over the SSLSocketFactory.
- SslSocketFactoryServerCredentials - Class in io.grpc.okhttp
-
A credential with full control over the SSLSocketFactory.
T
- TLS - io.grpc.okhttp.NegotiationType
-
Deprecated.Uses TLS ALPN/NPN negotiation, assumes an SSL connection.
- tlsConnectionSpec(String[], String[]) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Sets the connection specification used for secure connections.
- transportExecutor(Executor) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Override the default executor necessary for internal transport use.
- transportExecutor(Executor) - Method in class io.grpc.okhttp.OkHttpServerBuilder
-
Override the default executor necessary for internal transport use.
U
- usePlaintext() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Sets the negotiation type for the HTTP/2 connection to plaintext.
- useTransportSecurity() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
-
Sets the negotiation type for the HTTP/2 connection to TLS (this is the default).
V
- valueOf(String) - Static method in enum io.grpc.okhttp.NegotiationType
-
Deprecated.Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.grpc.okhttp.NegotiationType
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages