- ABORTED - Static variable in class io.grpc.Status
-
The operation was aborted, typically due to a concurrency issue like sequencer check failures,
transaction aborts, etc.
- addListener(Context.CancellationListener, Executor) - Method in class io.grpc.Context
-
Add a listener that will be notified when the context becomes cancelled.
- addMethod(MethodDescriptor<ReqT, RespT>, ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.ServerServiceDefinition.Builder
-
Add a method to be supported by the service.
- addMethod(ServerMethodDefinition<ReqT, RespT>) - Method in class io.grpc.ServerServiceDefinition.Builder
-
Add a method to be supported by the service.
- addService(ServerServiceDefinition) - Method in class io.grpc.ServerBuilder
-
Adds a service implementation to the handler registry.
- addService(BindableService) - Method in class io.grpc.ServerBuilder
-
Adds a service implementation to the handler registry.
- addService(ServerServiceDefinition) - Method in class io.grpc.util.MutableHandlerRegistry
-
- after(long, TimeUnit) - Static method in class io.grpc.Deadline
-
Create a deadline that will expire at the specified offset from the current system clock.
- ALREADY_EXISTS - Static variable in class io.grpc.Status
-
Some entity that we attempted to create (e.g., file or directory) already exists.
- apply(Metadata) - Method in interface io.grpc.CallCredentials.MetadataApplier
-
Called when headers are successfully generated.
- applyRequestMetadata(MethodDescriptor<?, ?>, Attributes, Executor, CallCredentials.MetadataApplier) - Method in interface io.grpc.CallCredentials
-
- ASCII_STRING_MARSHALLER - Static variable in class io.grpc.Metadata
-
Simple metadata marshaller that encodes strings as is.
- asException() - Method in class io.grpc.Status
-
- asException(Metadata) - Method in class io.grpc.Status
-
- asFactory() - Static method in class io.grpc.NameResolverProvider
-
- asRuntimeException() - Method in class io.grpc.Status
-
- asRuntimeException(Metadata) - Method in class io.grpc.Status
-
- attach() - Method in class io.grpc.Context
-
Attach this context to the thread and make it
Context.current(), the previously current context
is returned.
- attach() - Method in class io.grpc.Context.CancellableContext
-
- ATTR_AUTHORITY - Static variable in interface io.grpc.CallCredentials
-
The authority string used to authenticate the server.
- ATTR_SECURITY_LEVEL - Static variable in interface io.grpc.CallCredentials
-
The security level of the transport.
- Attributes - Class in io.grpc
-
An immutable type-safe container of attributes.
- attributes() - Method in class io.grpc.ServerCall
-
Returns properties of a single call.
- Attributes.Builder - Class in io.grpc
-
- Attributes.Key<T> - Class in io.grpc
-
- augmentDescription(String) - Method in class io.grpc.Status
-
Create a derived instance of
Status augmenting the current description with
additional detail.
- authority() - Method in class io.grpc.Channel
-
The authority of the destination this channel connects to.
- available() - Method in interface io.grpc.KnownLength
-
Returns the total number of bytes that can be read (or skipped over) from this object until all
bytes have been read out.
- awaitTermination(long, TimeUnit) - Method in class io.grpc.ManagedChannel
-
Waits for the channel to become terminated, giving up if the timeout is reached.
- awaitTermination(long, TimeUnit) - Method in class io.grpc.Server
-
Waits for the server to become terminated, giving up if the timeout is reached.
- awaitTermination() - Method in class io.grpc.Server
-
Waits for the server to become terminated.
- call(Callable<V>) - Method in class io.grpc.Context
-
- CallCredentials - Interface in io.grpc
-
Carries credential data that will be propagated to the server via request metadata for each RPC.
- CallCredentials.MetadataApplier - Interface in io.grpc
-
The outlet of the produced headers.
- CallOptions - Class in io.grpc
-
The collection of runtime options for a new RPC call.
- CallOptions.Key<T> - Class in io.grpc
-
- cancel(String, Throwable) - Method in class io.grpc.ClientCall
-
Prevent any further processing for this ClientCall.
- cancel(Throwable) - Method in class io.grpc.Context.CancellableContext
-
Cancel this context and optionally provide a cause for the cancellation.
- cancel(String, Throwable) - Method in class io.grpc.ForwardingClientCall
-
- cancellationCause() - Method in class io.grpc.Context.CancellableContext
-
- cancellationCause() - Method in class io.grpc.Context
-
If a context
Context.isCancelled() then return the cause of the cancellation or
null if context was cancelled without a cause.
- cancelled(Context) - Method in interface io.grpc.Context.CancellationListener
-
- CANCELLED - Static variable in class io.grpc.Status
-
The operation was cancelled (typically by the caller).
- Channel - Class in io.grpc
-
A Channel provides an abstraction over the transport layer that is designed to be consumed
by stub implementations.
- Channel() - Constructor for class io.grpc.Channel
-
- CheckedForwardingClientCall(ClientCall<ReqT, RespT>) - Constructor for class io.grpc.ClientInterceptors.CheckedForwardingClientCall
-
- checkedStart(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
-
Subclasses implement the start logic here that would normally belong to start().
- ClientCall<ReqT,RespT> - Class in io.grpc
-
An instance of a call to a remote method.
- ClientCall() - Constructor for class io.grpc.ClientCall
-
- ClientCall.Listener<T> - Class in io.grpc
-
Callbacks for receiving metadata, response messages and completion status from the server.
- ClientInterceptor - Interface in io.grpc
-
Interface for intercepting outgoing calls before they are dispatched by a
Channel.
- ClientInterceptors - Class in io.grpc
-
- ClientInterceptors.CheckedForwardingClientCall<ReqT,RespT> - Class in io.grpc
-
- clientSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
-
- close(Status, Metadata) - Method in class io.grpc.ServerCall
-
Close the call with the provided status.
- close() - Method in interface io.grpc.TransportManager.OobTransportProvider
-
Closes the provider and shuts down all associated transports.
- closeWithError(Status) - Method in interface io.grpc.TransportManager.InterimTransport
-
Closes the interim transport by failing all pending RPCs with the given error.
- closeWithRealTransports(Supplier<T>) - Method in interface io.grpc.TransportManager.InterimTransport
-
Closes the interim transport by transferring pending RPCs to the given real transports.
- CODE_KEY - Static variable in class io.grpc.Status
-
Key to bind status code to trailing metadata.
- Codec - Interface in io.grpc
-
Encloses classes related to the compression and decompression of messages.
- Codec.Gzip - Class in io.grpc
-
A gzip compressor and decompressor.
- Codec.Identity - Class in io.grpc
-
The "identity", or "none" codec.
- compareTo(Deadline) - Method in class io.grpc.Deadline
-
- compress(OutputStream) - Method in class io.grpc.Codec.Gzip
-
- compress(OutputStream) - Method in class io.grpc.Codec.Identity
-
- compress(OutputStream) - Method in interface io.grpc.Compressor
-
Wraps an existing output stream with a compressing output stream.
- Compressor - Interface in io.grpc
-
Represents a message compressor.
- CompressorRegistry - Class in io.grpc
-
Encloses classes related to the compression and decompression of messages.
- compressorRegistry(CompressorRegistry) - Method in class io.grpc.ManagedChannelBuilder
-
Set the compression registry for use in the channel.
- compressorRegistry(CompressorRegistry) - Method in class io.grpc.ServerBuilder
-
Set the compression registry for use in the channel.
- containsKey(Metadata.Key<?>) - Method in class io.grpc.Metadata
-
Returns true if a value is defined for the given key.
- Context - Class in io.grpc
-
A context propagation mechanism which can carry scoped-values across API boundaries and between
threads.
- Context.CancellableContext - Class in io.grpc
-
A context which inherits cancellation from its parent but which can also be independently
cancelled and which will propagate cancellation to its descendants.
- Context.CancellationListener - Interface in io.grpc
-
A listener notified on context cancellation.
- Context.Key<T> - Class in io.grpc
-
Key for indexing values stored in a context.
- Contexts - Class in io.grpc
-
Utility methods for working with
Contexts in GRPC.
- create(MethodDescriptor.MethodType, String, MethodDescriptor.Marshaller<RequestT>, MethodDescriptor.Marshaller<ResponseT>) - Static method in class io.grpc.MethodDescriptor
-
Creates a new MethodDescriptor.
- create(MethodDescriptor<ReqT, RespT>, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.ServerMethodDefinition
-
Create a new instance.
- createFailingTransport(Status) - Method in class io.grpc.TransportManager
-
Creates a transport that would fail all RPCs with the given error.
- createInterimTransport() - Method in class io.grpc.TransportManager
-
Returns a transport that is not associated with any address.
- createOobTransportProvider(EquivalentAddressGroup, String) - Method in class io.grpc.TransportManager
-
- current() - Static method in class io.grpc.Context
-
Return the context associated with the current thread, will never return
null as
the
Context.ROOT context is implicitly associated with all threads.
- currentContextExecutor(Executor) - Static method in class io.grpc.Context
-
- DATA_LOSS - Static variable in class io.grpc.Status
-
Unrecoverable data loss or corruption.
- Deadline - Class in io.grpc
-
An absolute deadline in system time.
- DEADLINE_EXCEEDED - Static variable in class io.grpc.Status
-
Deadline expired before operation could complete.
- decompress(InputStream) - Method in class io.grpc.Codec.Gzip
-
- decompress(InputStream) - Method in class io.grpc.Codec.Identity
-
- decompress(InputStream) - Method in interface io.grpc.Decompressor
-
Wraps an existing input stream with a decompressing input stream.
- Decompressor - Interface in io.grpc
-
Represents a message decompressor.
- DecompressorRegistry - Class in io.grpc
-
Encloses classes related to the compression and decompression of messages.
- decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ManagedChannelBuilder
-
Set the decompression registry for use in the channel.
- decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ServerBuilder
-
Set the decompression registry for use in the channel.
- DEFAULT - Static variable in class io.grpc.CallOptions
-
A blank CallOptions that all fields are not set.
- delegate() - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
-
- delegate() - Method in class io.grpc.ForwardingClientCall
-
Returns the delegated ClientCall.
- delegate() - Method in class io.grpc.ForwardingClientCall.SimpleForwardingClientCall
-
- delegate() - Method in class io.grpc.ForwardingClientCallListener
-
Returns the delegated ClientCall.Listener.
- delegate() - Method in class io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener
-
- delegate() - Method in class io.grpc.ForwardingServerCall
-
Returns the delegated ServerCall.
- delegate() - Method in class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
-
- delegate() - Method in class io.grpc.ForwardingServerCallListener
-
Returns the delegated ServerCall.Listener.
- delegate() - Method in class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener
-
- detach(Context) - Method in class io.grpc.Context.CancellableContext
-
- detach(Context) - Method in class io.grpc.Context
-
Detach the current context from the thread and attach the provided replacement.
- detachAndCancel(Context, Throwable) - Method in class io.grpc.Context.CancellableContext
-
Cancel this context and detach it as the current context from the thread.
- directExecutor() - Method in class io.grpc.ManagedChannelBuilder
-
Execute application code directly in the transport thread.
- directExecutor() - Method in class io.grpc.ServerBuilder
-
Execute application code directly in the transport thread.
- Drainable - Interface in io.grpc
-
- drainTo(OutputStream) - Method in interface io.grpc.Drainable
-
Transfers the entire contents of this stream to the specified target.
- DummyLoadBalancerFactory - Class in io.grpc
-
- generateFullMethodName(String, String) - Static method in class io.grpc.MethodDescriptor
-
Generate the fully qualified method name.
- get(Attributes.Key<T>) - Method in class io.grpc.Attributes
-
Gets the value for the key, or null if it's not present.
- get() - Method in class io.grpc.Context.Key
-
- get(Context) - Method in class io.grpc.Context.Key
-
Get the value from the specified context for this key.
- get(Metadata.Key<T>) - Method in class io.grpc.Metadata
-
Returns the last metadata entry added with the name 'name' parsed as T.
- get() - Method in interface io.grpc.TransportManager.OobTransportProvider
-
Returns an OOB transport.
- getAddress() - Method in class io.grpc.ResolvedServerInfo
-
Returns the address.
- getAddresses() - Method in class io.grpc.EquivalentAddressGroup
-
Returns an immutable list of the addresses.
- getAdvertisedMessageEncodings() - Method in class io.grpc.DecompressorRegistry
-
Provides a list of all message encodings that have decompressors available and should be
advertised.
- getAffinity() - Method in class io.grpc.CallOptions
-
Returns the attributes for affinity-based routing.
- getAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
-
Returns all the metadata entries named 'name', in the order they were received,
parsed as T or null if there are none.
- getAttributes() - Method in class io.grpc.ResolvedServerInfo
-
Returns the associated attributes.
- getAuthority() - Method in class io.grpc.CallOptions
-
Override the HTTP/2 authority the channel claims to be connecting to.
- getCandidatesViaHardCoded(ClassLoader) - Static method in class io.grpc.ManagedChannelProvider
-
Load providers from a hard-coded list.
- getCandidatesViaHardCoded(ClassLoader) - Static method in class io.grpc.NameResolverProvider
-
Load providers from a hard-coded list.
- getCandidatesViaServiceLoader(ClassLoader) - Static method in class io.grpc.ManagedChannelProvider
-
- getCandidatesViaServiceLoader(ClassLoader) - Static method in class io.grpc.NameResolverProvider
-
- getCause() - Method in class io.grpc.Status
-
The underlying cause of an error.
- getCode() - Method in class io.grpc.Status
-
The canonical status code.
- getCompressor() - Method in class io.grpc.CallOptions
-
Returns the compressor's name.
- getCredentials() - Method in class io.grpc.CallOptions
-
Returns the call credentials.
- getDeadline() - Method in class io.grpc.CallOptions
-
Returns the deadline or null if the deadline is not set.
- getDeadline() - Method in class io.grpc.Context
-
A context may have an associated
Deadline at which it will be automatically cancelled.
- getDeadlineNanoTime() - Method in class io.grpc.CallOptions
-
- getDefault() - Method in class io.grpc.CallOptions.Key
-
- getDefaultInstance() - Static method in class io.grpc.CompressorRegistry
-
- getDefaultInstance() - Static method in class io.grpc.DecompressorRegistry
-
- getDefaultScheme() - Method in class io.grpc.NameResolver.Factory
-
- getDescription() - Method in class io.grpc.Status
-
A description of this status for human consumption.
- getExecutor() - Method in class io.grpc.CallOptions
-
- getFullMethodName() - Method in class io.grpc.MethodDescriptor
-
The fully qualified name of the method.
- getInstance() - Static method in class io.grpc.DummyLoadBalancerFactory
-
- getInstance() - Static method in class io.grpc.util.RoundRobinLoadBalancerFactory
-
- getKnownMessageEncodings() - Method in class io.grpc.DecompressorRegistry
-
Provides a list of all message encodings that have decompressors available.
- getMessageEncoding() - Method in class io.grpc.Codec.Gzip
-
- getMessageEncoding() - Method in class io.grpc.Codec.Identity
-
- getMessageEncoding() - Method in interface io.grpc.Compressor
-
Returns the message encoding that this compressor uses.
- getMessageEncoding() - Method in interface io.grpc.Decompressor
-
Returns the message encoding that this compressor uses.
- getMethod(String) - Method in class io.grpc.ServerServiceDefinition
-
Look up a method by its fully qualified name.
- getMethodDescriptor() - Method in class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
-
- getMethodDescriptor() - Method in class io.grpc.ServerCall
-
- getMethodDescriptor() - Method in class io.grpc.ServerMethodDefinition
-
The MethodDescriptor for this method.
- getMethods() - Method in class io.grpc.ServerServiceDefinition
-
- getMethods() - Method in class io.grpc.ServiceDescriptor
-
A collection of
MethodDescriptor instances describing the methods exposed by the
service.
- getName() - Method in class io.grpc.inprocess.InProcessSocketAddress
-
- getName() - Method in class io.grpc.ServiceDescriptor
-
Simple name of the service.
- getOption(CallOptions.Key<T>) - Method in class io.grpc.CallOptions
-
Get the value for a custom option or its inherent default.
- getPort() - Method in class io.grpc.Server
-
Returns the port number the server is listening on.
- getRawAdvertisedMessageEncodings() - Method in class io.grpc.DecompressorRegistry
-
- getServerCallHandler() - Method in class io.grpc.ServerMethodDefinition
-
Handler for incoming calls.
- getServiceAuthority() - Method in class io.grpc.NameResolver
-
Returns the authority, which is also the name of the service.
- getServiceDescriptor() - Method in class io.grpc.ServerServiceDefinition
-
The descriptor for the service.
- getStatus() - Method in exception io.grpc.StatusException
-
- getStatus() - Method in exception io.grpc.StatusRuntimeException
-
- getTrailers() - Method in exception io.grpc.StatusException
-
- getTrailers() - Method in exception io.grpc.StatusRuntimeException
-
- getTransport(EquivalentAddressGroup) - Method in class io.grpc.TransportManager
-
Returns a transport for any of the addresses from the given address group.
- getType() - Method in class io.grpc.MethodDescriptor
-
The call type of the method.
- Gzip() - Constructor for class io.grpc.Codec.Gzip
-
- idleTimeout(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
-
Set the duration without ongoing RPCs before going to idle mode.
- InProcessChannelBuilder - Class in io.grpc.inprocess
-
Builder for a channel that issues in-process requests.
- InProcessServerBuilder - Class in io.grpc.inprocess
-
Builder for a server that services in-process requests.
- InProcessSocketAddress - Class in io.grpc.inprocess
-
Custom SocketAddress class for InProcessTransport.
- InProcessSocketAddress(String) - Constructor for class io.grpc.inprocess.InProcessSocketAddress
-
- intercept(Channel, ClientInterceptor...) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channel that will call
interceptors before starting a call on the
given channel.
- intercept(Channel, List<? extends ClientInterceptor>) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channel that will call
interceptors before starting a call on the
given channel.
- intercept(List<ClientInterceptor>) - Method in class io.grpc.ManagedChannelBuilder
-
Adds interceptors that will be called before the channel performs its real work.
- intercept(ClientInterceptor...) - Method in class io.grpc.ManagedChannelBuilder
-
Adds interceptors that will be called before the channel performs its real work.
- intercept(ServerServiceDefinition, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinition whose
ServerCallHandlers will call
interceptors before calling the pre-existing
ServerCallHandler.
- intercept(BindableService, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
-
- intercept(ServerServiceDefinition, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinition whose
ServerCallHandlers will call
interceptors before calling the pre-existing
ServerCallHandler.
- intercept(BindableService, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
-
- interceptCall(MethodDescriptor<ReqT, RespT>, CallOptions, Channel) - Method in interface io.grpc.ClientInterceptor
-
- interceptCall(Context, ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.Contexts
-
Make the provided
Context Context.current() for the creation of a listener
to a received call and for all events received by that listener.
- interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in interface io.grpc.ServerInterceptor
-
- interceptForward(Channel, ClientInterceptor...) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channel that will call
interceptors before starting a call on the
given channel.
- interceptForward(Channel, List<? extends ClientInterceptor>) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channel that will call
interceptors before starting a call on the
given channel.
- interceptForward(ServerServiceDefinition, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinition whose
ServerCallHandlers will call
interceptors before calling the pre-existing
ServerCallHandler.
- interceptForward(BindableService, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
-
- interceptForward(ServerServiceDefinition, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinition whose
ServerCallHandlers will call
interceptors before calling the pre-existing
ServerCallHandler.
- interceptForward(BindableService, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
-
- Internal - Annotation Type in io.grpc
-
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.
- INTERNAL - Static variable in class io.grpc.Status
-
Internal errors.
- INVALID_ARGUMENT - Static variable in class io.grpc.Status
-
Client specified an invalid argument.
- io.grpc - package io.grpc
-
The gRPC core public API.
- io.grpc.inprocess - package io.grpc.inprocess
-
The in-process transport which is for when a server is in the same process as the client.
- io.grpc.util - package io.grpc.util
-
- isAndroid() - Static method in class io.grpc.ManagedChannelProvider
-
- isAvailable() - Method in class io.grpc.ManagedChannelProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- isAvailable() - Method in class io.grpc.NameResolverProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- isAvailable() - Method in class io.grpc.ServerProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- isBefore(Deadline) - Method in class io.grpc.Deadline
-
Is this deadline before another.
- isCancelled() - Method in class io.grpc.Context.CancellableContext
-
- isCancelled() - Method in class io.grpc.Context
-
Is this context cancelled.
- isCancelled() - Method in class io.grpc.ServerCall
-
Returns true when the call is cancelled and the server is encouraged to abort
processing to save resources, since the client will not be processing any further methods.
- isCurrent() - Method in class io.grpc.Context.CancellableContext
-
- isExpired() - Method in class io.grpc.Deadline
-
Has this deadline expired
- isIdempotent() - Method in class io.grpc.MethodDescriptor
-
Returns whether this method is idempotent.
- isOk() - Method in class io.grpc.Status
-
Is this status OK, i.e., not an error.
- isReady() - Method in class io.grpc.ClientCall
-
If true, indicates that the call is capable of sending additional messages
without requiring excessive buffering internally.
- isReady() - Method in class io.grpc.ForwardingClientCall
-
- isReady() - Method in class io.grpc.ServerCall
-
If true, indicates that the call is capable of sending additional messages
without requiring excessive buffering internally.
- isShutdown() - Method in class io.grpc.ManagedChannel
-
Returns whether the channel is shutdown.
- isShutdown() - Method in class io.grpc.Server
-
Returns whether the server is shutdown.
- isTerminated() - Method in class io.grpc.ManagedChannel
-
Returns whether the channel is terminated.
- isTerminated() - Method in class io.grpc.Server
-
Returns whether the server is terminated.
- isWaitForReady() - Method in class io.grpc.CallOptions
-
Returns whether 'wait for ready' option is enabled for the call.
- makeChannel(T) - Method in class io.grpc.TransportManager
-
Returns a channel that uses transport; useful for issuing RPCs on a transport.
- ManagedChannel - Class in io.grpc
-
A
Channel that provides lifecycle management.
- ManagedChannel() - Constructor for class io.grpc.ManagedChannel
-
- ManagedChannelBuilder<T extends ManagedChannelBuilder<T>> - Class in io.grpc
-
- ManagedChannelBuilder() - Constructor for class io.grpc.ManagedChannelBuilder
-
- ManagedChannelProvider - Class in io.grpc
-
Provider of managed channels for transport agnostic consumption.
- ManagedChannelProvider() - Constructor for class io.grpc.ManagedChannelProvider
-
- ManagedChannelProvider.ProviderNotFoundException - Exception in io.grpc
-
- merge(Metadata) - Method in class io.grpc.Metadata
-
Perform a simple merge of two sets of metadata.
- merge(Metadata, Set<Metadata.Key<?>>) - Method in class io.grpc.Metadata
-
Merge values for the given set of keys into this set of metadata.
- MESSAGE_KEY - Static variable in class io.grpc.Status
-
Key to bind status message to trailing metadata.
- Metadata - Class in io.grpc
-
Provides access to read and write metadata values to be exchanged during a call.
- Metadata(byte[]...) - Constructor for class io.grpc.Metadata
-
Constructor called by the transport layer when it receives binary metadata.
- Metadata() - Constructor for class io.grpc.Metadata
-
Constructor called by the application layer when it wants to send metadata.
- Metadata.AsciiMarshaller<T> - Interface in io.grpc
-
Marshaller for metadata values that are serialized into ASCII strings that contain only
following characters:
Space: 0x20, but must not be at the beginning or at the end of the value.
- Metadata.BinaryMarshaller<T> - Interface in io.grpc
-
Marshaller for metadata values that are serialized into raw binary.
- Metadata.Key<T> - Class in io.grpc
-
Key for metadata entries.
- MethodDescriptor<ReqT,RespT> - Class in io.grpc
-
Description of a remote method used by
Channel to initiate a call.
- MethodDescriptor.Marshaller<T> - Interface in io.grpc
-
A typed abstraction over message serialization and deserialization, a.k.a.
- MethodDescriptor.MethodType - Enum in io.grpc
-
The call type of a method.
- minimum(Deadline) - Method in class io.grpc.Deadline
-
Return the minimum deadline of this or an other deadline.
- MutableHandlerRegistry - Class in io.grpc.util
-
- MutableHandlerRegistry() - Constructor for class io.grpc.util.MutableHandlerRegistry
-
- PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolver.Factory
-
The port number used in case the target or the underlying naming system doesn't provide a
port number.
- PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolverProvider
-
The port number used in case the target or the underlying naming system doesn't provide a
port number.
- parse(InputStream) - Method in interface io.grpc.MethodDescriptor.Marshaller
-
Given an
InputStream parse it into an instance of the declared type so that it can be
passed to application code.
- parseAsciiString(String) - Method in interface io.grpc.Metadata.AsciiMarshaller
-
Parse a serialized metadata value from an ASCII string.
- parseBytes(byte[]) - Method in interface io.grpc.Metadata.BinaryMarshaller
-
Parse a serialized metadata value from bytes.
- parseRequest(InputStream) - Method in class io.grpc.MethodDescriptor
-
Parse an incoming request message.
- parseResponse(InputStream) - Method in class io.grpc.MethodDescriptor
-
- PERMISSION_DENIED - Static variable in class io.grpc.Status
-
The caller does not have permission to execute the specified operation.
- pickTransport(Attributes) - Method in class io.grpc.LoadBalancer
-
Pick a transport that Channel will use for next RPC.
- priority() - Method in class io.grpc.ManagedChannelProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into
consideration.
- priority() - Method in class io.grpc.NameResolverProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into
consideration.
- priority() - Method in class io.grpc.ServerProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into
consideration.
- provider() - Static method in class io.grpc.ManagedChannelProvider
-
Returns the ClassLoader-wide default channel.
- provider() - Static method in class io.grpc.ServerProvider
-
Returns the ClassLoader-wide default server.
- ProviderNotFoundException(String) - Constructor for exception io.grpc.ManagedChannelProvider.ProviderNotFoundException
-
- providers() - Static method in class io.grpc.NameResolverProvider
-
Returns non-null ClassLoader-wide providers, in preference order.
- put(Metadata.Key<T>, T) - Method in class io.grpc.Metadata
-
Adds the key, value pair.
- SecurityLevel - Enum in io.grpc
-
The level of security guarantee in communications.
- sendHeaders(Metadata) - Method in class io.grpc.ServerCall
-
Send response header metadata prior to sending a response message.
- sendMessage(ReqT) - Method in class io.grpc.ClientCall
-
Send a request message to the server.
- sendMessage(ReqT) - Method in class io.grpc.ForwardingClientCall
-
- sendMessage(RespT) - Method in class io.grpc.ForwardingServerCall
-
- sendMessage(RespT) - Method in class io.grpc.ServerCall
-
Send a response message.
- serialize() - Method in class io.grpc.Metadata
-
Serialize all the metadata entries.
- Server - Class in io.grpc
-
Server for listening for and dispatching incoming calls.
- Server() - Constructor for class io.grpc.Server
-
- ServerBuilder<T extends ServerBuilder<T>> - Class in io.grpc
-
A builder for
Server instances.
- ServerBuilder() - Constructor for class io.grpc.ServerBuilder
-
- ServerCall<ReqT,RespT> - Class in io.grpc
-
Encapsulates a single call received from a remote client.
- ServerCall() - Constructor for class io.grpc.ServerCall
-
- ServerCall.Listener<ReqT> - Class in io.grpc
-
Callbacks for consuming incoming RPC messages.
- ServerCallHandler<RequestT,ResponseT> - Interface in io.grpc
-
Interface to initiate processing of incoming remote calls.
- ServerInterceptor - Interface in io.grpc
-
Interface for intercepting incoming calls before that are dispatched by
ServerCallHandler.
- ServerInterceptors - Class in io.grpc
-
- ServerMethodDefinition<ReqT,RespT> - Class in io.grpc
-
Definition of a method exposed by a
Server.
- ServerProvider - Class in io.grpc
-
Provider of servers for transport agnostic consumption.
- ServerProvider() - Constructor for class io.grpc.ServerProvider
-
- serverSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
-
- ServerServiceDefinition - Class in io.grpc
-
Definition of a service to be exposed via a Server.
- ServerServiceDefinition.Builder - Class in io.grpc
-
Builder for constructing Service instances.
- ServiceDescriptor - Class in io.grpc
-
Descriptor for a service.
- ServiceDescriptor(String, MethodDescriptor<?, ?>...) - Constructor for class io.grpc.ServiceDescriptor
-
- ServiceDescriptor(String, Collection<MethodDescriptor<?, ?>>) - Constructor for class io.grpc.ServiceDescriptor
-
- set(Attributes.Key<T>, T) - Method in class io.grpc.Attributes.Builder
-
- setAll(Attributes) - Method in class io.grpc.Attributes.Builder
-
- setCompression(String) - Method in class io.grpc.ServerCall
-
Sets the compression algorithm for this call.
- setMessageCompression(boolean) - Method in class io.grpc.ClientCall
-
Enables per-message compression, if an encoding type has been negotiated.
- setMessageCompression(boolean) - Method in class io.grpc.ForwardingClientCall
-
- setMessageCompression(boolean) - Method in class io.grpc.ServerCall
-
Enables per-message compression, if an encoding type has been negotiated.
- shutdown() - Method in class io.grpc.LoadBalancer
-
Shuts down this LoadBalancer.
- shutdown() - Method in class io.grpc.ManagedChannel
-
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately
cancelled.
- shutdown() - Method in class io.grpc.NameResolver
-
Stops the resolution.
- shutdown() - Method in class io.grpc.Server
-
Initiates an orderly shutdown in which preexisting calls continue but new calls are rejected.
- shutdownNow() - Method in class io.grpc.ManagedChannel
-
Initiates a forceful shutdown in which preexisting and new calls are cancelled.
- shutdownNow() - Method in class io.grpc.Server
-
Initiates a forceful shutdown in which preexisting and new calls are rejected.
- SimpleForwardingClientCall(ClientCall<ReqT, RespT>) - Constructor for class io.grpc.ForwardingClientCall.SimpleForwardingClientCall
-
- SimpleForwardingClientCallListener(ClientCall.Listener<RespT>) - Constructor for class io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener
-
- SimpleForwardingServerCall(ServerCall<ReqT, RespT>) - Constructor for class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
-
- SimpleForwardingServerCallListener(ServerCall.Listener<ReqT>) - Constructor for class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener
-
- SSL_SESSION_KEY - Static variable in class io.grpc.ServerCall
-
- start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientCall
-
Start a call, using responseListener for processing response messages.
- start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
-
- start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ForwardingClientCall
-
- start(NameResolver.Listener) - Method in class io.grpc.NameResolver
-
Starts the resolution.
- start() - Method in class io.grpc.Server
-
Bind and start the server.
- startCall(ServerCall<RequestT, ResponseT>, Metadata) - Method in interface io.grpc.ServerCallHandler
-
Produce a non-null listener for the incoming call.
- Status - Class in io.grpc
-
Defines the status of an operation by providing a standard
Status.Code in conjunction with an
optional descriptive message.
- Status.Code - Enum in io.grpc
-
The set of canonical status codes.
- StatusException - Exception in io.grpc
-
Status in Exception form, for propagating Status information via exceptions.
- StatusException(Status) - Constructor for exception io.grpc.StatusException
-
- StatusException(Status, Metadata) - Constructor for exception io.grpc.StatusException
-
Constructs an exception with both a status and trailers.
- statusFromCancelled(Context) - Static method in class io.grpc.Contexts
-
Returns the
Status of a cancelled context or
null if the context
is not cancelled.
- StatusRuntimeException - Exception in io.grpc
-
Status in RuntimeException form, for propagating Status information via exceptions.
- StatusRuntimeException(Status) - Constructor for exception io.grpc.StatusRuntimeException
-
- StatusRuntimeException(Status, Metadata) - Constructor for exception io.grpc.StatusRuntimeException
-
Constructs the exception with both a status and trailers.
- stream(T) - Method in interface io.grpc.MethodDescriptor.Marshaller
-
Given a message, produce an
InputStream for it so that it can be written to the wire.
- streamRequest(ReqT) - Method in class io.grpc.MethodDescriptor
-
- streamResponse(RespT) - Method in class io.grpc.MethodDescriptor
-
Serialize an outgoing response message.
- with(Decompressor, boolean) - Method in class io.grpc.DecompressorRegistry
-
Registers a decompressor for both decompression and message encoding negotiation.
- withAffinity(Attributes) - Method in class io.grpc.CallOptions
-
Returns a new CallOptions with attributes for affinity-based routing.
- withAuthority(String) - Method in class io.grpc.CallOptions
-
Override the HTTP/2 authority the channel claims to be connecting to.
- withCallCredentials(CallCredentials) - Method in class io.grpc.CallOptions
-
Returns a new CallOptions with the given call credentials.
- withCancellation() - Method in class io.grpc.Context
-
Create a new context which is independently cancellable and also cascades cancellation from
its parent.
- withCause(Throwable) - Method in class io.grpc.Status
-
Create a derived instance of
Status with the given cause.
- withCompression(String) - Method in class io.grpc.CallOptions
-
Sets the compression to use for the call.
- withDeadline(Deadline) - Method in class io.grpc.CallOptions
-
Returns a new CallOptions with the given absolute deadline.
- withDeadline(Deadline, ScheduledExecutorService) - Method in class io.grpc.Context
-
Create a new context which will cancel itself at the given
Deadline.
- withDeadlineAfter(long, TimeUnit) - Method in class io.grpc.CallOptions
-
Returns a new CallOptions with a deadline that is after the given duration from
now.
- withDeadlineAfter(long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.Context
-
Create a new context which will cancel itself after the given duration from now.
- withDeadlineNanoTime(Long) - Method in class io.grpc.CallOptions
-
- withDescription(String) - Method in class io.grpc.Status
-
Create a derived instance of
Status with the given description.
- withExecutor(Executor) - Method in class io.grpc.CallOptions
-
- withIdempotent(boolean) - Method in class io.grpc.MethodDescriptor
-
Set idempotency on this method.
- withOption(CallOptions.Key<T>, T) - Method in class io.grpc.CallOptions
-
Sets a custom option.
- withoutWaitForReady() - Method in class io.grpc.CallOptions
-
Disables 'wait for ready' feature for the call.
- withServerCallHandler(ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.ServerMethodDefinition
-
Create a new method definition with a different call handler.
- withValue(Context.Key<V>, V) - Method in class io.grpc.Context
-
Create a new context with the given key value set.
- withValues(Context.Key<V1>, V1, Context.Key<V2>, V2) - Method in class io.grpc.Context
-
Create a new context with the given key value set.
- withValues(Context.Key<V1>, V1, Context.Key<V2>, V2, Context.Key<V3>, V3) - Method in class io.grpc.Context
-
Create a new context with the given key value set.
- withWaitForReady() - Method in class io.grpc.CallOptions
-
Enables 'wait for ready' feature for the call.
- wrap(Runnable) - Method in class io.grpc.Context
-
- wrap(Callable<C>) - Method in class io.grpc.Context
-