Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
10.1.0.Beta1
-
None
Description
RestClientOkHttp is keeping the process alive, the process is async so the response are return, we are able to get the body response but the process still alive
For example:
RestClientOkHttp restClient = new RestClientOkHttp(new RestClientConfigurationBuilder().build()); RestResponse response = restClient.cacheManager("default").stats().toCompletableFuture().get(); System.out.println(response.getBody());