Interface HttpClient
public interface HttpClient
Object that sends an HTTP request, and returns the response.
-
Method Summary
Modifier and TypeMethodDescriptionrequest(HttpClientRequest request) Sends a HttpRequest blocking the current thread until a response is available or the request times out.
-
Method Details
-
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
-