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

B

builderForAddress(String, int) - Method in class io.grpc.okhttp.OkHttpChannelProvider
 
builderForTarget(String) - Method in class io.grpc.okhttp.OkHttpChannelProvider
 
buildTransportFactory() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
 

C

connectionSpec(ConnectionSpec) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
For secure connection, provides a ConnectionSpec to specify Cipher suite and TLS versions.
CONTENT_TYPE_HEADER - Static variable in class io.grpc.okhttp.Headers
 
createRequestHeaders(Metadata, String, String, String) - Static method in class io.grpc.okhttp.Headers
Serializes the given headers and creates a list of OkHttp Headers to be used when creating a stream.

D

DEFAULT_CONNECTION_SPEC - Static variable in class io.grpc.okhttp.OkHttpChannelBuilder
 

E

enableKeepAlive(boolean) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Enable keepalive with default delay and timeout.
enableKeepAlive(boolean, long, TimeUnit, long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Enable keepalive with custom delay and timeout.

F

forAddress(String, int) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
Creates a new builder for the given server host and port.
forTarget(String) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
Creates a new builder for the given target that will be resolved by NameResolver.

G

getNameResolverParams() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
 

H

Headers - Class in io.grpc.okhttp
Constants for request/response headers.
Headers() - Constructor for class io.grpc.okhttp.Headers
 

I

io.grpc.okhttp - package io.grpc.okhttp
A lightweight transport based on OkHttp, mainly for use on Android (client-only).
isAvailable() - Method in class io.grpc.okhttp.OkHttpChannelProvider
 

M

maxMessageSize(int) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the maximum message size allowed to be received on the channel.
METHOD_HEADER - Static variable in class io.grpc.okhttp.Headers
 

N

NegotiationType - Enum in io.grpc.okhttp
Identifies the negotiation used for starting up HTTP/2.
negotiationType(NegotiationType) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the negotiation type for the HTTP/2 connection.

O

OkHttpChannelBuilder - Class in io.grpc.okhttp
Convenience class for building channels with the OkHttp transport.
OkHttpChannelBuilder(String, int) - Constructor for class io.grpc.okhttp.OkHttpChannelBuilder
 
OkHttpChannelProvider - Class in io.grpc.okhttp
Provider for OkHttpChannelBuilder instances.
OkHttpChannelProvider() - Constructor for class io.grpc.okhttp.OkHttpChannelProvider
 

P

priority() - Method in class io.grpc.okhttp.OkHttpChannelProvider
 

S

SCHEME_HEADER - Static variable in class io.grpc.okhttp.Headers
 
sslSocketFactory(SSLSocketFactory) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Provides a SSLSocketFactory to replace the default SSLSocketFactory used for TLS.

T

TE_HEADER - Static variable in class io.grpc.okhttp.Headers
 
transportExecutor(Executor) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Override the default executor necessary for internal transport use.

U

usePlaintext(boolean) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Equivalent to using OkHttpChannelBuilder.negotiationType(NegotiationType) with PLAINTEXT.

V

valueOf(String) - Static method in enum io.grpc.okhttp.NegotiationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.grpc.okhttp.NegotiationType
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E F G H I M N O P S T U V 
Skip navigation links