OkHttpChannelBuilder |
OkHttpChannelBuilder.connectionSpec(ConnectionSpec connectionSpec) |
For secure connection, provides a ConnectionSpec to specify Cipher suite and
TLS versions.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.flowControlWindow(int flowControlWindow) |
Sets the flow control window in bytes.
|
static OkHttpChannelBuilder |
OkHttpChannelBuilder.forAddress(String host,
int port) |
Creates a new builder for the given server host and port.
|
static OkHttpChannelBuilder |
OkHttpChannelBuilder.forAddress(String host,
int port,
ChannelCredentials creds) |
Creates a new builder with the given host and port.
|
static OkHttpChannelBuilder |
OkHttpChannelBuilder.forTarget(String target) |
Creates a new builder for the given target that will be resolved by
NameResolver .
|
static OkHttpChannelBuilder |
OkHttpChannelBuilder.forTarget(String target,
ChannelCredentials creds) |
Creates a new builder for the given target that will be resolved by
NameResolver .
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.hostnameVerifier(HostnameVerifier hostnameVerifier) |
Set the hostname verifier to use when using TLS negotiation.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.keepAliveTime(long keepAliveTime,
TimeUnit timeUnit) |
Sets the time without read activity before sending a keepalive ping.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.keepAliveTimeout(long keepAliveTimeout,
TimeUnit timeUnit) |
Sets the time waiting for read activity after sending a keepalive ping.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.keepAliveWithoutCalls(boolean enable) |
Sets whether keepalive will be performed when there are no outstanding RPC on a connection.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.maxInboundMessageSize(int max) |
Sets the maximum message size allowed for a single gRPC frame.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.maxInboundMetadataSize(int bytes) |
Sets the maximum size of metadata allowed to be received.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.negotiationType(NegotiationType type) |
Deprecated.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
Provides a custom scheduled executor service.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.socketFactory(SocketFactory socketFactory) |
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.sslSocketFactory(SSLSocketFactory factory) |
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.tlsConnectionSpec(String[] tlsVersions,
String[] cipherSuites) |
Sets the connection specification used for secure connections.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.transportExecutor(Executor transportExecutor) |
Override the default executor necessary for internal transport use.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.usePlaintext() |
Sets the negotiation type for the HTTP/2 connection to plaintext.
|
OkHttpChannelBuilder |
OkHttpChannelBuilder.useTransportSecurity() |
Sets the negotiation type for the HTTP/2 connection to TLS (this is the default).
|