public class HttpRequestClient extends Object
| Constructor and Description |
|---|
HttpRequestClient(ProxyConfig proxyConfig)
Build the HttpClient
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.HttpHost |
getProxy(ProxyConfig proxyConfig)
Method to get proxy
|
Response |
makeJsonRequest(Request request,
OAuthMigrationRequest migrationRequest)
Method to make the HTTP POST request using the request attributes supplied
|
Response |
makeRequest(Request request)
Method to make the HTTP request call using the request attributes supplied
|
org.apache.http.conn.ssl.SSLConnectionSocketFactory |
prepareClientSSL() |
org.apache.http.client.CredentialsProvider |
setProxyAuthentication(ProxyConfig proxyConfig)
Method to set proxy authentication
|
public HttpRequestClient(ProxyConfig proxyConfig)
public org.apache.http.conn.ssl.SSLConnectionSocketFactory prepareClientSSL()
public org.apache.http.client.CredentialsProvider setProxyAuthentication(ProxyConfig proxyConfig)
public org.apache.http.HttpHost getProxy(ProxyConfig proxyConfig)
public Response makeRequest(Request request) throws InvalidRequestException
request - InvalidRequestExceptionpublic Response makeJsonRequest(Request request, OAuthMigrationRequest migrationRequest) throws InvalidRequestException
request - InvalidRequestExceptionCopyright © 2019. All Rights Reserved.