Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.grpclb | |
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).
|
io.grpc.protobuf.services |
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
|
io.grpc.protobuf.services.internal | |
io.grpc.rls | |
io.grpc.xds |
Library for gPRC proxyless service mesh using Envoy xDS protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
ManagedChannelProvider
Provider of managed channels for transport agnostic consumption.
|
class |
ManagedChannelRegistry
Registry of
ManagedChannelProvider s. |
class |
ServerProvider
Provider of servers for transport agnostic consumption.
|
class |
ServerRegistry
Registry of
ServerProvider s. |
Modifier and Type | Field and Description |
---|---|
static Attributes.Key<Map<String,?>> |
LoadBalancer.ATTR_HEALTH_CHECKING_CONFIG |
Modifier and Type | Method and Description |
---|---|
Channel |
LoadBalancer.Subchannel.asChannel()
(Internal use only) returns a
Channel that is backed by this Subchannel. |
Object |
LoadBalancer.Subchannel.getInternalSubchannel()
(Internal use only) returns an object that represents the underlying subchannel that is used
by the Channel for sending RPCs when this
LoadBalancer.Subchannel is picked. |
ServerMethodDefinition<?,?> |
ServerServiceDefinition.getMethod(String methodName)
Look up a method by its fully qualified name.
|
Modifier and Type | Class and Description |
---|---|
class |
GrpclbLoadBalancerProvider
The provider for the "grpclb" balancing policy.
|
Modifier and Type | Method and Description |
---|---|
protected ManagedChannelBuilder<?> |
InProcessChannelBuilder.delegate() |
protected ServerBuilder<?> |
InProcessServerBuilder.delegate() |
Modifier and Type | Class and Description |
---|---|
class |
GrpcHttp2ConnectionHandler
gRPC wrapper for
Http2ConnectionHandler . |
class |
NettyChannelProvider
Provider for
NettyChannelBuilder instances. |
class |
NettyServerProvider
Provider for
NettyServerBuilder instances. |
class |
ProtocolNegotiationEvent
Represents a completion of a protocol negotiation stage.
|
Modifier and Type | Method and Description |
---|---|
protected ManagedChannelBuilder<?> |
NettyChannelBuilder.delegate() |
protected ServerBuilder<?> |
NettyServerBuilder.delegate() |
NettyServerBuilder |
NettyServerBuilder.protocolNegotiator(io.grpc.netty.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 ManagedChannelBuilder<?> |
OkHttpChannelBuilder.delegate() |
Modifier and Type | Class and Description |
---|---|
class |
BinaryLogProvider |
Modifier and Type | Class and Description |
---|---|
class |
HealthCheckingRoundRobinLoadBalancerProvider
The health-check-capable provider for the "round_robin" balancing policy.
|
Modifier and Type | Class and Description |
---|---|
class |
RlsLoadBalancerProvider
The provider for the "rls_experimental" balancing policy.
|
Modifier and Type | Method and Description |
---|---|
protected ServerBuilder<?> |
XdsServerBuilder.delegate() |