ReqT
- gRPC request typeRespT
- gRPC response typepublic class GrpcExceptionServerCall<ReqT,RespT> extends ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT>
ServerCall
for server side exception handling.ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT>
ServerCall.Listener<ReqT>
Modifier | Constructor and Description |
---|---|
protected |
GrpcExceptionServerCall(ServerCall<ReqT,RespT> delegate,
GrpcExceptionResponseHandler exceptionHandler)
Creates a new exception handling grpc server call.
|
Modifier and Type | Method and Description |
---|---|
void |
close(Status status,
Metadata trailers) |
delegate, getMethodDescriptor
sendMessage
protected GrpcExceptionServerCall(ServerCall<ReqT,RespT> delegate, GrpcExceptionResponseHandler exceptionHandler)
delegate
- The call to delegate to (Required).exceptionHandler
- The exception handler to use (Required).