| Package | Description |
|---|---|
| io.grpc |
The gRPC core public API.
|
| 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 | Method and Description |
|---|---|
static ManagedChannelProvider |
ManagedChannelProvider.provider()
Returns the ClassLoader-wide default channel.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterable<ManagedChannelProvider> |
ManagedChannelProvider.getCandidatesViaHardCoded(ClassLoader classLoader)
Load providers from a hard-coded list.
|
static Iterable<ManagedChannelProvider> |
ManagedChannelProvider.getCandidatesViaServiceLoader(ClassLoader classLoader)
Loads service providers for the
ManagedChannelProvider service using
ServiceLoader. |
| Modifier and Type | Class and Description |
|---|---|
class |
NettyChannelProvider
Provider for
NettyChannelBuilder instances. |
| Modifier and Type | Class and Description |
|---|---|
class |
OkHttpChannelProvider
Provider for
OkHttpChannelBuilder instances. |