You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Case: When invoke first request or by asynch way or by CompletableFuture jersey create instances of ClientRequest in NonInjectionManager$TypedInstances.threadPredestroyables and they never cleaned until clinet not closed, but i need to reuse client instance.
@skafenko Thank you for testing our NonInjectionManager for the Jersey Client. Its primary purpose at the moment is a fallback when HK2 is not on a classpath. It is not capable of injections the way the JAX-RS Spec mandates, and HK2 is the preferred injection framework backing up the Jersey Client. The intention is to use this NonInjectionManager for the client in Jersey 5, where HK2 will be replaced to better comply with Jakarta REST's next Specification.
We have added a proper cleanup of the @RequestScoped objects in #5813.
Jersey client version = 2.45
Case: When invoke first request or by asynch way or by CompletableFuture jersey create instances of ClientRequest in NonInjectionManager$TypedInstances.threadPredestroyables and they never cleaned until clinet not closed, but i need to reuse client instance.
CODE:
` Client client = ClientBuilder.newClient();
The text was updated successfully, but these errors were encountered: