https://rmannibucau.wordpress.com/2016/02/25/the-promise-of-completablefuture-jax-rs2-example/