(Object userConfig)
| 241 | // --- Construtor -- // |
| 242 | |
| 243 | private void initExchange(Object userConfig) { |
| 244 | Map<String, Object> defaultConfig; |
| 245 | |
| 246 | if (userConfig != null) { |
| 247 | defaultConfig = (Map<String, Object>) userConfig; |
| 248 | } else { |
| 249 | defaultConfig = new HashMap<String, Object>(); |
| 250 | } |
| 251 | System.setProperty("java.net.preferIPv4Stack", "true"); |
| 252 | this.initializeProperties(defaultConfig); |
| 253 | this.initHttpClient(); |
| 254 | this.httpClientProxyFingerprint = currentProxyFingerprint(); |
| 255 | this.afterConstruct(); |
| 256 | this.transformApiNew(this.api, new ArrayList<>()); |
| 257 | } |
| 258 | |
| 259 | // add to derived files constructor that calls base constructor with userConfig |
| 260 | public Exchange (Object userConfig) { |
no test coverage detected