| Modifier and Type | Method and Description |
|---|---|
static Connection |
Connection.getInstance(MerchantConfig mc,
DocumentBuilder builder,
LoggerWrapper logger)
Get connection instance based on properties
|
protected void |
HttpClientConnection.initHttpClient(MerchantConfig mc)
To initialize HttpClient and set proxy
|
protected void |
PoolingHttpClientConnection.initHttpClient(MerchantConfig merchantConfig,
org.apache.http.impl.conn.PoolingHttpClientConnectionManager poolingHttpClientConnManager) |
static void |
SecurityUtil.loadMerchantP12File(MerchantConfig merchantConfig,
Logger logger)
Method loads the Merchant P12 key.
|
static HttpURLConnection |
ConnectionHelper.openConnection(URL url,
MerchantConfig mc)
Open the HTTPURLConnection for given credentials.
|
static void |
SecurityUtil.readJdkCert(MerchantConfig merchantConfig,
Logger logger)
read jdk certificates from cacerts file
|
static void |
ConnectionHelper.setProxy(org.apache.http.impl.client.HttpClientBuilder httpClientBuilder,
org.apache.http.client.config.RequestConfig.Builder requestConfigBuilder,
MerchantConfig merchantConfig)
Set proxy by using proxy credentials to create httpclient
|
static void |
ConnectionHelper.setTimeout(HttpURLConnection con,
MerchantConfig mc)
Sets the timeout for HTTP Request
|
| Constructor and Description |
|---|
Connection(MerchantConfig mc,
DocumentBuilder builder,
LoggerWrapper logger)
It initializes three arguments MerchantConfig, DocumentBuilder and Logger
Any class extending this class must implement three argument constructor
|
Identity(MerchantConfig merchantConfig,
X509Certificate x509Certificate)
Creates an Identity instance.this type of the instance can
only be used to store server certificate identity.
|
Identity(MerchantConfig merchantConfig,
X509Certificate x509Certificate,
PrivateKey privateKey,
Logger logger)
Creates an Identity instance.this type of the instance can
only be used to store merchant identity.
|
LoggerImpl(MerchantConfig _mc)
Constructor.
|
LoggerWrapper(Logger _logger,
boolean _prepare,
boolean _logTranStart,
MerchantConfig _mc) |
Copyright © 2022. All rights reserved.