Req - Type of request.Resp - Type of response.protected static interface GrpcRoutes.ResponseStreamingRoute<Req,Resp> extends AsyncCloseable
| Modifier and Type | Method and Description |
|---|---|
default Completable |
closeAsync()
Used to close/shutdown a resource.
|
Publisher<Resp> |
handle(GrpcServiceContext ctx,
Req request)
Handles the passed
Req. |
closeAsyncGracefullyPublisher<Resp> handle(GrpcServiceContext ctx, Req request)
Req.ctx - GrpcServiceContext for this call.request - Req to handle.Publisher containing the response.default Completable closeAsync()
AsyncCloseablecloseAsync in interface AsyncCloseableCompletableSource that is notified once the close is complete.