Package org.openiam.http.client
Class OpenIAMHttpClient
- java.lang.Object
-
- org.openiam.http.client.OpenIAMHttpClient
-
@Component("httpClientHelper") public final class OpenIAMHttpClient extends Object
-
-
Constructor Summary
Constructors Constructor Description OpenIAMHttpClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpClientResponseWrapper
doPost(URL url, Map<String,String> headers, Map<String,String> params, org.apache.http.auth.Credentials credentials)
HttpClientResponseWrapper
doPost(URL url, Map<String,String> headers, Map<String,String> params, org.apache.http.auth.Credentials credentials, String rawString)
org.apache.http.client.HttpClient
getClient()
String
getResponse(URL url)
-
-
-
Constructor Detail
-
OpenIAMHttpClient
public OpenIAMHttpClient() throws KeyManagementException, NoSuchAlgorithmException, KeyStoreException
-
-
Method Detail
-
doPost
public HttpClientResponseWrapper doPost(URL url, Map<String,String> headers, Map<String,String> params, org.apache.http.auth.Credentials credentials) throws IOException, org.apache.http.auth.AuthenticationException
- Throws:
IOException
org.apache.http.auth.AuthenticationException
-
doPost
public HttpClientResponseWrapper doPost(URL url, Map<String,String> headers, Map<String,String> params, org.apache.http.auth.Credentials credentials, String rawString) throws IOException, org.apache.http.auth.AuthenticationException
- Throws:
IOException
org.apache.http.auth.AuthenticationException
-
getResponse
public String getResponse(URL url) throws IOException
- Throws:
IOException
-
getClient
public org.apache.http.client.HttpClient getClient()
-
-