I am using the Java HttpClient (java.net.http) and I am sending a GET request.
The response I get is a JSON String of the class "UserDto".
HttpResponse<String> send = httpClient.send(accept, HttpResponse.BodyHandlers.ofString());
I don't want to receive my response as a string but convert it directly into a "UserDto" object.