Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

CompletableFuture.get() outputs rather status than response body

I have the following scenario: I set up a client which sends an aynchronous HTTP reuqest to the server. The client receives a CompletableFuture. So far evertything works fine. However, I cannot access ...
Shakesbeer's user avatar
1 vote
0 answers
1k views

How to get data from a REST API endpoint that returns CompletableFuture

Folks, My http endpoint returns CompletableFuture @HttpEndpoint public CompletableFuture<Student> processStudent(Request request){ return CompletableFuture.supplyAsync(()->saveStudent(...
Manoj Kalluri's user avatar