File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import javax .net .ssl .HostnameVerifier ;
66import javax .net .ssl .SSLContext ;
77
8- /**
9- * Configuration for the Adyen API client (authentication credentials, environment settings,
10- * HTTP timeout values, and Terminal API configuration, etc..).
8+ /**
9+ * Configuration for the Adyen API client (authentication credentials, environment settings, HTTP
10+ * timeout values, and Terminal API configuration, etc..).
1111 *
1212 * <p>Supports a fluent builder pattern for concise configuration:
1313 *
2020 * .readTimeoutMillis(15000);
2121 * }</pre>
2222 *
23- * <p><b>Important:</b> Consider setting Timeout and SSL configuration.
24- * The underlying HTTP client is created lazily on the first request and reuses the configuration
25- * captured at that point. Changes made after the first request will not take effect.
23+ * <p><b>Important:</b> Consider setting Timeout and SSL configuration. The underlying HTTP client
24+ * is created lazily on the first request and reuses the configuration captured at that point.
25+ * Changes made after the first request will not take effect.
2626 *
2727 * @see Client
2828 * @see com.adyen.httpclient.AdyenHttpClient
Original file line number Diff line number Diff line change 8282 *
8383 * <p>The shared HTTP client is created from the {@link Config} provided on the first request.
8484 * Subsequent changes to {@link Config} timeout values will not affect the already-created client.
85- * Configuration must be finalized before the first API call.
86- **
85+ * Configuration must be finalized before the first API call. *
86+ *
8787 * @see ClientInterface
8888 * @see Config
8989 */
@@ -377,7 +377,8 @@ private CloseableHttpClient createHttpClientWithSocketFactory(
377377 .setConnectTimeout (config .getConnectionTimeoutMillis (), TimeUnit .MILLISECONDS )
378378 // socketTimeout acts as an OS-level safety net for stalled reads;
379379 // responseTimeout (in RequestConfig) is the HTTP-level equivalent.
380- // Both are set to readTimeoutMillis so the request is bounded regardless of which layer fires first.
380+ // Both are set to readTimeoutMillis so the request is bounded regardless of which layer
381+ // fires first.
381382 .setSocketTimeout (config .getReadTimeoutMillis (), TimeUnit .MILLISECONDS )
382383 .build ();
383384 return HttpClients .custom ()
You can’t perform that action at this time.
0 commit comments