Package io.servicetalk.grpc.api
Core gRPC API.
-
Interface Summary Interface Description BlockingGrpcClient<Client extends GrpcClient> A blocking client to a gRPC service.BlockingGrpcService A blocking gRPC service.FilterableGrpcClient A client to a gRPC service that supports filtering.GrpcBindableService<F extends S,S extends GrpcService,FF extends GrpcServiceFilterFactory<F,S>> GrpcClient<BlockingClient extends BlockingGrpcClient> A client to a gRPC service.GrpcClientBuilder.MultiClientBuilder An interface to create multiple gRPC clients sharing the same underlying transport instance.GrpcClientCallFactory A factory to create gRPC client call objects for different programming models.GrpcClientCallFactory.BlockingClientCall<Req,Resp> An abstraction to make blocking client calls.GrpcClientCallFactory.BlockingRequestStreamingClientCall<Req,Resp> An abstraction to make blocking client calls where request is streaming.GrpcClientCallFactory.BlockingResponseStreamingClientCall<Req,Resp> An abstraction to make blocking client calls where response is streaming.GrpcClientCallFactory.BlockingStreamingClientCall<Req,Resp> An abstraction to make blocking bi-directional streaming client calls.GrpcClientCallFactory.ClientCall<Req,Resp> An abstraction to make asynchronous client calls.GrpcClientCallFactory.RequestStreamingClientCall<Req,Resp> An abstraction to make asynchronous client calls where request is streaming.GrpcClientCallFactory.ResponseStreamingClientCall<Req,Resp> An abstraction to make asynchronous client calls where response is streaming.GrpcClientCallFactory.StreamingClientCall<Req,Resp> An abstraction to make asynchronous bi-directional streaming client calls.GrpcClientFilterFactory<Filter extends FilterableClient,FilterableClient extends FilterableGrpcClient> A factory to create gRPC client filters.GrpcClientMetadata Metadata for a gRPC client call.GrpcClientSecurityConfigurator<U,R> Deprecated. GrpcExecutionContext An extension ofExecutionContext
for gRPC.GrpcExecutionStrategy An execution strategy for gRPC client and servers.GrpcMetadata Metadata for a gRPC call.GrpcPayloadWriter<T> APayloadWriter
for gRPC.GrpcRoutes.AllGrpcRoutes A collection of route corresponding to the enclosingGrpcRoutes
.GrpcRoutes.BlockingRequestStreamingRoute<Req,Resp> A blocking gRPC route with request streaming.GrpcRoutes.BlockingResponseStreamingRoute<Req,Resp> 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.GrpcSerializationProvider A provider for gRPC serialization/deserialization.GrpcServerSecurityConfigurator Deprecated. GrpcService A gRPC service.GrpcServiceContext A gRPC service context.GrpcServiceContext.GrpcProtocol GrpcServiceFactory.ServerBinder A utility to bind an HTTP service for gRPC with an appropriate programming model.GrpcServiceFilterFactory<Filter extends Service,Service> A factory to create gRPC service filters. -
Class Summary Class Description DefaultGrpcClientMetadata Default implementation forDefaultGrpcClientMetadata
.GrpcClientBuilder<U,R> A builder for building a gRPC client.GrpcClientFactory<Client extends GrpcClient<BlockingClient>,BlockingClient extends BlockingGrpcClient<Client>,Filter extends FilterableClient,FilterableClient extends FilterableGrpcClient,FilterFactory extends GrpcClientFilterFactory<Filter,FilterableClient>> A factory for creating clients that follows the specified gRPCGrpcClientFactory
contract.GrpcExecutionStrategies A factory to create differentGrpcExecutionStrategy
.GrpcExecutionStrategies.Builder A builder to build anHttpExecutionStrategy
.GrpcRoutes<Service extends GrpcService> A holder of gRPC routes that constitutes a service.GrpcServerBuilder A builder for building a gRPC server.GrpcServiceFactory<Filter extends Service,Service extends GrpcService,FilterFactory extends GrpcServiceFilterFactory<Filter,Service>> A factory for binding a gRPC service to a server using aGrpcServiceFactory.ServerBinder
.GrpcStatus Class representing gRPC statuses. -
Enum Summary Enum Description GrpcStatusCode Standard gRPC status codes. -
Exception Summary Exception Description GrpcStatusException AGrpcStatus
in exception form.MessageEncodingException Exception thrown when a message was encoded with an unsupported encoder.