You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ab...@apache.org on 2025/07/03 09:52:59 UTC
(httpcomponents-client) branch master updated: HTTPASYNC-173 - Expose a protected constructor in DefaultAsyncClientConnectionOperator and mark it @since 5.6. (#666)
This is an automated email from the ASF dual-hosted git repository.
abernal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git
The following commit(s) were added to refs/heads/master by this push:
new 7dbe7a293 HTTPASYNC-173 - Expose a protected constructor in DefaultAsyncClientConnectionOperator and mark it @since 5.6. (#666)
7dbe7a293 is described below
commit 7dbe7a29373131e2b6335a7ddaf44631c71cd1d2
Author: Arturo Bernal <ab...@apache.org>
AuthorDate: Thu Jul 3 11:52:53 2025 +0200
HTTPASYNC-173 - Expose a protected constructor in DefaultAsyncClientConnectionOperator and mark it @since 5.6. (#666)
---
.../http/impl/nio/DefaultAsyncClientConnectionOperator.java | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/DefaultAsyncClientConnectionOperator.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/DefaultAsyncClientConnectionOperator.java
index 28515675e..4c4177a9c 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/DefaultAsyncClientConnectionOperator.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/DefaultAsyncClientConnectionOperator.java
@@ -71,7 +71,15 @@ public class DefaultAsyncClientConnectionOperator implements AsyncClientConnecti
private final MultihomeIOSessionRequester sessionRequester;
private final Lookup<TlsStrategy> tlsStrategyLookup;
- DefaultAsyncClientConnectionOperator(
+ /**
+ * Constructs a new {@code DefaultAsyncClientConnectionOperator}.
+ *
+ * <p><strong>Note:</strong> this class is marked {@code @Internal}; rely on it
+ * only if you are prepared for incompatible changes in a future major
+ * release. Typical client code should use the high-level builders in
+ * {@code HttpAsyncClients} instead.</p>
+ */
+ protected DefaultAsyncClientConnectionOperator(
final Lookup<TlsStrategy> tlsStrategyLookup,
final SchemePortResolver schemePortResolver,
final DnsResolver dnsResolver) {