Package io.servicetalk.grpc.api
@ElementsAreNonnullByDefault
package io.servicetalk.grpc.api
Core gRPC API.
-
ClassDescriptionBlockingGrpcClient<Client extends GrpcClient>A blocking client to a gRPC service.A blocking gRPC service.The response for streaming use-cases that provides ability to defer sending response meta-data and write the payload to an
GrpcPayloadWriter
.Default implementation forDefaultGrpcClientMetadata
.AGrpcClientBuilder
that delegates all methods to anotherGrpcClientBuilder
.AGrpcServerBuilder
that delegates all methods to anotherGrpcServerBuilder
.GrpcBindableService<S extends GrpcService>GrpcClient<BlockingClient extends BlockingGrpcClient>A client to a gRPC service.GrpcClientBuilder<U,R> A builder for building a gRPC client.Initializes the underlyingSingleAddressHttpClientBuilder
used for the transport layer.An interface to create multiple gRPC clients that share the underlying transport.A factory to create gRPC client call objects for different programming models.GrpcClientCallFactory.BlockingClientCall<Req,Resp> An abstraction to make blocking client calls.An abstraction to make blocking client calls where request is streaming.An abstraction to make blocking client calls where response is streaming.An abstraction to make blocking bi-directional streaming client calls.GrpcClientCallFactory.ClientCall<Req,Resp> An abstraction to make asynchronous client calls.An abstraction to make asynchronous client calls where request is streaming.An abstraction to make asynchronous client calls where response is streaming.An abstraction to make asynchronous bi-directional streaming client calls.GrpcClientFactory<Client extends GrpcClient<BlockingClient>,BlockingClient extends BlockingGrpcClient<Client>> A factory for creating clients that follows the specified gRPCGrpcClientFactory
contract.Metadata for a gRPC client call.Filter that maps knownThrowable
subtypes into an gRPC response with an appropriateGrpcStatusCode
.An extension ofExecutionContext
for gRPC.A factory to create differentGrpcExecutionStrategy
.A builder to build anGrpcExecutionStrategy
.An execution strategy for gRPC client and servers.Utility filters for gRPC.Common gRPC header names.Common gRPC header values.An observer interface that provides visibility into gRPC lifecycle events.An observer interface that provides visibility into events associated with a single gRPC exchange.An observer interface that provides visibility into events associated with a single gRPC request.An observer interface that provides visibility into events associated with a single gRPC response.Metadata for a gRPC call.APayloadWriter
for gRPC.A holder for all gRPC-specific providers that can be registered usingServiceLoader
.Provider forGrpcClientBuilder
.Provider forGrpcServerBuilder
.GrpcRoutes<Service extends GrpcService>A holder of gRPC routes that constitutes a service.Deprecated.This class is not used starting from version 0.42.0 (see PR#1893), we plan to remove it in future releases.GrpcRoutes.BlockingRequestStreamingRoute<Req,Resp> A blocking gRPC route with request streaming.A blocking gRPC route with response streaming.GrpcRoutes.BlockingRoute<Req,Resp> A blocking gRPC route.GrpcRoutes.BlockingStreamingRoute<Req,Resp> A blocking gRPC route with bi-directional streaming.GrpcRoutes.RequestStreamingRoute<Req,Resp> An asynchronous gRPC route with request streaming.GrpcRoutes.ResponseStreamingRoute<Req,Resp> An asynchronous gRPC route with response streaming.GrpcRoutes.Route<Req,Resp> An asynchronous gRPC route.GrpcRoutes.StreamingRoute<Req,Resp> An asynchronous gRPC route with bi-directional streaming.Deprecated.Serialization is now specified viaMethodDescriptor
.A builder for building a gRPC server.Initializes the underlyingHttpServerBuilder
used for the transport layer.Context of a gRPC server.A gRPC service.A gRPC service context.GrpcServiceFactory<Service extends GrpcService>A factory for binding a gRPC service to a server using aGrpcServiceFactory.ServerBinder
.A utility to bind an HTTP service for gRPC with an appropriate programming model.GrpcServiceFilterFactory<Filter extends Service,Service> Deprecated.gRPC Service Filters will be removed in future release of ServiceTalk.Class representing gRPC statuses.Standard gRPC status codes.AGrpcStatus
in exception form.Deprecated.This exception type was thrown only byProtoBufSerializationProviderBuilder
that was deprecated and will be removed in future releases.MethodDescriptor<Req,Resp> Metadata that describes a specific RPC method.Utility methods forMethodDescriptor
.Description of a parameter or return value related to aMethodDescriptor
.Description of the serialization used for individual elements related to aParameterDescriptor
.