Combine CompletableFuture with DeferredResult to Create an Async Spring REST API
carlmartensen.com