Modifier and Type | Class | Description |
---|---|---|
class |
ForwardingServerCall<ReqT,RespT> |
A
ServerCall which forwards all of it's 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 | Description |
---|---|---|
protected abstract ServerCall<ReqT,RespT> |
ForwardingServerCall.delegate() |
Returns the delegated
ServerCall . |
protected ServerCall<ReqT,RespT> |
ForwardingServerCall.SimpleForwardingServerCall.delegate() |
Modifier and Type | Method | Description |
---|---|---|
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. |
ServerCall.Listener<RequestT> |
ServerCallHandler.startCall(ServerCall<RequestT,ResponseT> call,
Metadata headers) |
Produce a non-
null listener for the incoming call. |
Constructor | Description |
---|---|
SimpleForwardingServerCall(ServerCall<ReqT,RespT> delegate) |