Interface HttpClient
-
public interface HttpClientObject that sends an HTTP request, and returns the response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpClientResponserequest(HttpClientRequest request)Sends a HttpRequest blocking the current thread until a response is available or the request times out.
-
-
-
Method Detail
-
request
HttpClientResponse request(HttpClientRequest request)
Sends a HttpRequest blocking the current thread until a response is available or the request times out.- Parameters:
request- theHttpClientRequestto send.- Returns:
- the received
HttpClientResponse
-
-