| 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.
|
| 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 |
InternalDecompressorRegistry
Private accessor for decompressor registries.
|
class |
InternalKnownTransport
All known transports.
|
class |
InternalMetadata
Internal
Metadata accessor. |
static interface |
InternalMetadata.TrustedAsciiMarshaller<T>
A specialized plain ASCII marshaller.
|
class |
InternalMethodDescriptor
Accesses internal data.
|
class |
ManagedChannelProvider
Provider of managed channels for transport agnostic consumption.
|
class |
NameResolverProvider
Provider of name resolvers for name agnostic consumption.
|
class |
ServerProvider
Provider of servers for transport agnostic consumption.
|
| Modifier and Type | Field and Description |
|---|---|
static Metadata.Key<Status> |
Status.CODE_KEY
Key to bind status code to trailing metadata.
|
static Metadata.Key<String> |
Status.MESSAGE_KEY
Key to bind status message to trailing metadata.
|
static Charset |
InternalMetadata.US_ASCII
Copy of StandardCharsets, which is only available on Java 1.7 and above.
|
| Modifier and Type | Method and Description |
|---|---|
ServerMethodDefinition<?,?> |
ServerServiceDefinition.getMethod(String methodName)
Look up a method by its fully qualified name.
|
static byte[] |
InternalDecompressorRegistry.getRawAdvertisedMessageEncodings(DecompressorRegistry reg) |
static int |
InternalMetadata.headerCount(Metadata md) |
static <T> Metadata.Key<T> |
InternalMetadata.keyOf(String name,
InternalMetadata.TrustedAsciiMarshaller<T> marshaller) |
static Metadata |
InternalMetadata.newMetadata(byte[]... binaryValues) |
static Metadata |
InternalMetadata.newMetadata(int usedNames,
byte[]... binaryValues) |
static byte[][] |
InternalMetadata.serialize(Metadata md) |
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.internal.ClientTransportFactory |
InProcessChannelBuilder.buildTransportFactory() |
protected boolean |
InProcessChannelBuilder.recordsStats() |