@@ -64,14 +64,14 @@ public class MerchantConfig {
6464 private String proxyUser ;
6565 private String proxyPassword ;
6666 private String cacertPassword ;
67- private String useClientHttpFactory ;
68- private boolean ClientHttpFactoryEnabled ;
67+ private String customHttpClass ;
68+ private boolean customHttpClassEnabled ;
6969
70- public String getUseClientHttpFactory () {
71- return useClientHttpFactory ;
70+ public String getcustomHttpClass () {
71+ return customHttpClass ;
7272 }
73- public boolean isClientHttpFactoryEnabled () {
74- return ClientHttpFactoryEnabled ;
73+ public boolean iscustomHttpClassEnabled () {
74+ return customHttpClassEnabled ;
7575 }
7676 // computed values
7777 private String effectiveServerURL ;
@@ -261,7 +261,7 @@ public MerchantConfig(Properties _props, String _merchantID)
261261 logFilename = getProperty (merchantID , "logFilename" );
262262 logMaximumSize = getIntegerProperty (merchantID , "logMaximumSize" , 10 );
263263 useHttpClient = getBooleanProperty (merchantID , "useHttpClient" , ConnectionHelper .getDefaultUseHttpClient ());
264- useClientHttpFactory = getProperty (merchantID , "useClientHttpFactory " );
264+ customHttpClass = getProperty (merchantID , "customHttpClass " );
265265 timeout = getIntegerProperty (merchantID , "timeout" , DEFAULT_TIMEOUT );
266266 proxyHost = getProperty (merchantID , "proxyHost" );
267267 proxyPort = getIntegerProperty (merchantID , "proxyPort" , DEFAULT_PROXY_PORT );
@@ -270,7 +270,7 @@ public MerchantConfig(Properties _props, String _merchantID)
270270 enableJdkCert = getBooleanProperty (merchantID , "enableJdkCert" , false );
271271 enableCacert =getBooleanProperty (merchantID , "enableCacert" , false );
272272 cacertPassword =getProperty (merchantID ,"cacertPassword" ,"changeit" );
273- ClientHttpFactoryEnabled =getBooleanProperty (merchantID ,"ClientHttpFactoryEnabled " ,false );
273+ customHttpClassEnabled =getBooleanProperty (merchantID ,"customHttpClassEnabled " ,false );
274274 // compute and store effective namespace URI
275275
276276 if (namespaceURI == null && targetAPIVersion == null ) {
@@ -473,8 +473,8 @@ public String getLogString() {
473473 appendPair (sb , "logDirectory" , logDirectory );
474474 appendPair (sb , "logFilename" , logFilename );
475475 appendPair (sb , "logMaximumSize" , logMaximumSize );
476- appendPair (sb , "useClientHttpFactory " , useClientHttpFactory );
477- appendPair (sb , "useClientHttpFactoryFlag " , ClientHttpFactoryEnabled );
476+ appendPair (sb , "customHttpClass " , customHttpClass );
477+ appendPair (sb , "customHttpClassEnabled " , customHttpClassEnabled );
478478 appendPair (sb , "useHttpClient" , useHttpClient );
479479 appendPair (sb , "enableJdkCert" , enableJdkCert );
480480 appendPair (sb , "enableCacert" , enableCacert );
0 commit comments