Class NetworkHttpClient


  • public class NetworkHttpClient
    extends HttpClient
    • Constructor Detail

      • NetworkHttpClient

        public NetworkHttpClient()
        Create a new HTTP Client.
      • NetworkHttpClient

        public NetworkHttpClient​(org.apache.http.impl.client.HttpClientBuilder clientBuilder)
        Create a new HTTP Client using custom configuration.
        Parameters:
        clientBuilder - an HttpClientBuilder.
    • Method Detail

      • makeRequest

        public Response makeRequest​(Request request)
        Make a request.
        Specified by:
        makeRequest in class HttpClient
        Parameters:
        request - request to make
        Returns:
        Response of the HTTP request