| 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 |
|---|---|
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 |
|---|---|
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 | 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. |
class |
ProtocolNegotiationEvent
Represents a completion of a protocol negotiation stage.
|
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.internal.ClientTransportFactory |
NettyChannelBuilder.buildTransportFactory() |
protected String |
NettyChannelBuilder.checkAuthority(String authority) |
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 io.grpc.internal.ClientTransportFactory |
OkHttpChannelBuilder.buildTransportFactory() |