| Package | Description |
|---|---|
| io.grpc |
The gRPC core public API.
|
| io.grpc.inprocess |
The in-process transport which is for when a server is in the same process as the client.
|
| io.grpc.netty |
The main transport implementation based on Netty,
for both the client and the server.
|
| io.grpc.okhttp |
A lightweight transport based on
OkHttp, mainly for use on Android
(client-only).
|
| Modifier and Type | Class and Description |
|---|---|
interface |
ExperimentalApi
Indicates a public API that can change at any time, and has no guarantee of API stability and
backward-compatibility.
|
interface |
Internal
Annotates a program element (class, method, package etc) which is internal to gRPC, not part of
the public API, and should not be used by users of gRPC.
|
class |
ManagedChannelProvider
Provider of managed channels for transport agnostic consumption.
|
class |
ServerProvider
Provider of servers for transport agnostic consumption.
|
| Modifier and Type | Method and Description |
|---|---|
ServerMethodDefinition<?,?> |
ServerServiceDefinition.getMethod(String methodName)
Look up a method by its fully qualified name.
|
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.internal.ClientTransportFactory |
InProcessChannelBuilder.buildTransportFactory() |
| Modifier and Type | Class and Description |
|---|---|
class |
GrpcHttp2ConnectionHandler
gRPC wrapper for
Http2ConnectionHandler. |
class |
HandlerSettings
Deprecated.
renamed to
InternalHandlerSettings and should not be used externally |
class |
NettyChannelProvider
Provider for
NettyChannelBuilder instances. |
class |
NettyServerProvider
Provider for
NettyChannelBuilder instances. |
interface |
ProtocolNegotiator
A class that provides a Netty handler to control protocol negotiation.
|
class |
ProtocolNegotiators
Common
ProtocolNegotiators used by gRPC. |
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.internal.ClientTransportFactory |
NettyChannelBuilder.buildTransportFactory() |
protected String |
NettyChannelBuilder.checkAuthority(String authority) |
NettyServerBuilder |
NettyServerBuilder.protocolNegotiator(ProtocolNegotiator protocolNegotiator)
Sets the
ProtocolNegotiator to be used. |
| Modifier and Type | Class and Description |
|---|---|
class |
OkHttpChannelProvider
Provider for
OkHttpChannelBuilder instances. |
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.internal.ClientTransportFactory |
OkHttpChannelBuilder.buildTransportFactory() |