Class HttpWrapper


  • public class HttpWrapper
    extends Object
    Manages the access to the HttpClient applying a consistent approach/configuration.
    • Constructor Detail

      • HttpWrapper

        public HttpWrapper()
    • Method Detail

      • generateSSF

        public static org.apache.http.conn.ssl.SSLConnectionSocketFactory generateSSF()
        generates a static SSL Connection socket factory.
        Returns:
      • getHttpClient

        public org.apache.http.impl.client.CloseableHttpClient getHttpClient​(String username,
                                                                             String password)