Описание
26 26 HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString()); 27 27 System.out.println(response.body()); 28 28 } 29 29 30 30 private static void asyncRequest() { 31 var client = HttpClient.newHttpClient(); 32 31 var request = HttpRequest.newBuilder(