Uses of Interface
io.grpc.ServerCallHandler
-
Packages that use ServerCallHandler Package Description io.grpc The gRPC core public API.io.grpc.stub API for the Stub layer.io.grpc.util Utilities with advanced features in the core layer that user can optionally use.io.grpc.xds.orca -
-
Uses of ServerCallHandler in io.grpc
Methods in io.grpc that return ServerCallHandler Modifier and Type Method Description ServerCallHandler<ReqT,RespT>
ServerMethodDefinition. getServerCallHandler()
Handler for incoming calls.Methods in io.grpc with parameters of type ServerCallHandler Modifier and Type Method Description <ReqT,RespT>
ServerServiceDefinition.BuilderServerServiceDefinition.Builder. addMethod(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
Add a method to be supported by the service.static <ReqT,RespT>
ServerMethodDefinition<ReqT,RespT>ServerMethodDefinition. create(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
Create a new instance.static <ReqT,RespT>
ServerCall.Listener<ReqT>Contexts. interceptCall(Context context, ServerCall<ReqT,RespT> call, Metadata headers, ServerCallHandler<ReqT,RespT> next)
Make the providedContext
Context.current()
for the creation of a listener to a received call and for all events received by that listener.<ReqT,RespT>
ServerCall.Listener<ReqT>ServerInterceptor. interceptCall(ServerCall<ReqT,RespT> call, Metadata headers, ServerCallHandler<ReqT,RespT> next)
ServerMethodDefinition<ReqT,RespT>
ServerMethodDefinition. withServerCallHandler(ServerCallHandler<ReqT,RespT> handler)
Create a new method definition with a different call handler. -
Uses of ServerCallHandler in io.grpc.stub
Methods in io.grpc.stub that return ServerCallHandler Modifier and Type Method Description static <ReqT,RespT>
ServerCallHandler<ReqT,RespT>ServerCalls. asyncBidiStreamingCall(ServerCalls.BidiStreamingMethod<ReqT,RespT> method)
Creates aServerCallHandler
for a bidi streaming method of the service.static <ReqT,RespT>
ServerCallHandler<ReqT,RespT>ServerCalls. asyncClientStreamingCall(ServerCalls.ClientStreamingMethod<ReqT,RespT> method)
Creates aServerCallHandler
for a client streaming method of the service.static <ReqT,RespT>
ServerCallHandler<ReqT,RespT>ServerCalls. asyncServerStreamingCall(ServerCalls.ServerStreamingMethod<ReqT,RespT> method)
Creates aServerCallHandler
for a server streaming method of the service.static <ReqT,RespT>
ServerCallHandler<ReqT,RespT>ServerCalls. asyncUnaryCall(ServerCalls.UnaryMethod<ReqT,RespT> method)
Creates aServerCallHandler
for a unary call method of the service. -
Uses of ServerCallHandler in io.grpc.util
Methods in io.grpc.util with parameters of type ServerCallHandler Modifier and Type Method Description <ReqT,RespT>
ServerCall.Listener<ReqT>TransmitStatusRuntimeExceptionInterceptor. interceptCall(ServerCall<ReqT,RespT> call, Metadata headers, ServerCallHandler<ReqT,RespT> next)
-
Uses of ServerCallHandler in io.grpc.xds.orca
Methods in io.grpc.xds.orca with parameters of type ServerCallHandler Modifier and Type Method Description <ReqT,RespT>
ServerCall.Listener<ReqT>OrcaMetricReportingServerInterceptor. interceptCall(ServerCall<ReqT,RespT> call, Metadata headers, ServerCallHandler<ReqT,RespT> next)
-