Class HttpWrapper
- java.lang.Object
-
- org.linuxforhealth.fhir.operation.bulkdata.client.HttpWrapper
-
public class HttpWrapper extends java.lang.Object
Manages the access to the HttpClient applying a consistent approach/configuration.
-
-
Constructor Summary
Constructors Constructor Description HttpWrapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.http.conn.ssl.SSLConnectionSocketFactory
generateSSF()
generates a static SSL Connection socket factory.org.apache.http.impl.client.CloseableHttpClient
getHttpClient(java.lang.String username, java.lang.String password)
-
-
-
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(java.lang.String username, java.lang.String password)
-
-