Modifier and Type | Class and Description |
---|---|
class |
ForwardingServerCallListener<ReqT>
A
ServerCall.Listener which forwards all of its methods to another ServerCall.Listener of matching parameterized types. |
static class |
ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
A simplified version of
ForwardingServerCallListener where subclasses can pass in a
ServerCall.Listener as the delegate. |
Modifier and Type | Method and Description |
---|---|
protected abstract ServerCall.Listener<ReqT> |
ForwardingServerCallListener.delegate()
Returns the delegated
ServerCall.Listener . |
protected ServerCall.Listener<ReqT> |
ForwardingServerCallListener.SimpleForwardingServerCallListener.delegate() |
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)
|
ServerCall.Listener<RequestT> |
ServerCallHandler.startCall(ServerCall<RequestT,ResponseT> call,
Metadata headers)
Starts asynchronous processing of an incoming call.
|
Constructor and Description |
---|
SimpleForwardingServerCallListener(ServerCall.Listener<ReqT> delegate) |