Uses of Interface
io.grpc.ServerCallHandler
-
Packages that use ServerCallHandler Package Description io.grpc The gRPC core public API.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.stub API for the Stub layer.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of ServerCallHandler in io.grpc
Classes in io.grpc that implement ServerCallHandler Modifier and Type Class Description (package private) static class
ServerInterceptors.InterceptCallHandler<ReqT,RespT>
Fields in io.grpc declared as ServerCallHandler Modifier and Type Field Description private ServerCallHandler<ReqT,RespT>
ServerInterceptors.InterceptCallHandler. callHandler
private ServerCallHandler<ReqT,RespT>
ServerMethodDefinition. handler
Methods in io.grpc that return ServerCallHandler Modifier and Type Method Description ServerCallHandler<ReqT,RespT>
ServerMethodDefinition. getServerCallHandler()
Handler for incoming calls.static <ReqT,RespT>
ServerCallHandler<ReqT,RespT>InternalServerInterceptors. interceptCallHandlerCreate(ServerInterceptor interceptor, ServerCallHandler<ReqT,RespT> callHandler)
private static <OReqT,ORespT,WReqT,WRespT>
ServerCallHandler<WReqT,WRespT>ServerInterceptors. wrapHandler(ServerCallHandler<OReqT,ORespT> originalHandler, MethodDescriptor<OReqT,ORespT> originalMethod, MethodDescriptor<WReqT,WRespT> wrappedMethod)
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>
ServerInterceptors.InterceptCallHandler<ReqT,RespT>ServerInterceptors.InterceptCallHandler. create(ServerInterceptor interceptor, ServerCallHandler<ReqT,RespT> callHandler)
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)
static <ReqT,RespT>
ServerCallHandler<ReqT,RespT>InternalServerInterceptors. interceptCallHandlerCreate(ServerInterceptor interceptor, ServerCallHandler<ReqT,RespT> callHandler)
ServerMethodDefinition<ReqT,RespT>
ServerMethodDefinition. withServerCallHandler(ServerCallHandler<ReqT,RespT> handler)
Create a new method definition with a different call handler.private static <OReqT,ORespT,WReqT,WRespT>
ServerCallHandler<WReqT,WRespT>ServerInterceptors. wrapHandler(ServerCallHandler<OReqT,ORespT> originalHandler, MethodDescriptor<OReqT,ORespT> originalMethod, MethodDescriptor<WReqT,WRespT> wrappedMethod)
Constructors in io.grpc with parameters of type ServerCallHandler Constructor Description InterceptCallHandler(ServerInterceptor interceptor, ServerCallHandler<ReqT,RespT> callHandler)
ServerMethodDefinition(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
-
Uses of ServerCallHandler in io.grpc.internal
Fields in io.grpc.internal declared as ServerCallHandler Modifier and Type Field Description (package private) ServerCallHandler<ReqT,RespT>
ServerImpl.ServerTransportListenerImpl.ServerCallParameters. callHandler
Constructors in io.grpc.internal with parameters of type ServerCallHandler Constructor Description ServerCallParameters(ServerCallImpl<ReqT,RespT> call, ServerCallHandler<ReqT,RespT> callHandler)
-
Uses of ServerCallHandler in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ServerCallHandler Modifier and Type Method Description private ServerCallHandler<ServerReflectionRequest,ServerReflectionResponse>
ProtoReflectionService. createServerCallHandler(ServerServiceDefinition serverServiceDefinition)
-
Uses of ServerCallHandler in io.grpc.stub
Classes in io.grpc.stub that implement ServerCallHandler Modifier and Type Class Description private static class
ServerCalls.StreamingServerCallHandler<ReqT,RespT>
private static class
ServerCalls.UnaryServerCallHandler<ReqT,RespT>
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.Methods in io.grpc.stub with parameters of type ServerCallHandler Modifier and Type Method Description <ReqT,RespT>
ServerCall.Listener<ReqT>MetadataUtils.MetadataAttachingServerInterceptor. interceptCall(ServerCall<ReqT,RespT> call, Metadata headers, ServerCallHandler<ReqT,RespT> next)
-
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)
-