Modifier and Type | Class and Description |
---|---|
class |
ForwardingServerCall<ReqT,RespT>
A
ServerCall which forwards all of its methods to another ServerCall . |
static class |
ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT>
A simplified version of
ForwardingServerCall where subclasses can pass in a ServerCall as the delegate. |
Modifier and Type | Method and Description |
---|---|
protected abstract ServerCall<ReqT,RespT> |
ForwardingServerCall.delegate()
Returns the delegated
ServerCall . |
protected ServerCall<ReqT,RespT> |
ForwardingServerCall.SimpleForwardingServerCall.delegate() |
Modifier and Type | Method and Description |
---|---|
<ReqT,RespT> |
ServerCallExecutorSupplier.getExecutor(ServerCall<ReqT,RespT> call,
Metadata metadata)
Returns an executor to handle the server call.
|
static <ReqT,RespT> |
Contexts.interceptCall(io.grpc.Context context,
ServerCall<ReqT,RespT> call,
Metadata headers,
ServerCallHandler<ReqT,RespT> next)
Make the provided
Context Context.current() for the creation of a listener
to a received call and for all events received by that listener. |
<ReqT,RespT> |
ServerInterceptor.interceptCall(ServerCall<ReqT,RespT> call,
Metadata headers,
ServerCallHandler<ReqT,RespT> next)
|
void |
ServerStreamTracer.serverCallStarted(ServerCall<?,?> call)
Deprecated.
Implement
ServerStreamTracer.serverCallStarted(ServerCallInfo) instead. This method will be
removed in a future release of gRPC. |
ServerCall.Listener<RequestT> |
ServerCallHandler.startCall(ServerCall<RequestT,ResponseT> call,
Metadata headers)
Starts asynchronous processing of an incoming call.
|
Constructor and Description |
---|
SimpleForwardingServerCall(ServerCall<ReqT,RespT> delegate) |