Skip to content

Commit 1ad3c31

Browse files
committed
HTTPASYNC-173 - Expose a protected constructor in DefaultAsyncClientConnectionOperator. (#666)
(cherry picked from commit 7dbe7a2)
1 parent 2c159a5 commit 1ad3c31

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/DefaultAsyncClientConnectionOperator.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,15 @@ public class DefaultAsyncClientConnectionOperator implements AsyncClientConnecti
6969
private final MultihomeIOSessionRequester sessionRequester;
7070
private final Lookup<TlsStrategy> tlsStrategyLookup;
7171

72-
DefaultAsyncClientConnectionOperator(
72+
/**
73+
* Constructs a new {@code DefaultAsyncClientConnectionOperator}.
74+
*
75+
* <p><strong>Note:</strong> this class is marked {@code @Internal}; rely on it
76+
* only if you are prepared for incompatible changes in a future major
77+
* release. Typical client code should use the high-level builders in
78+
* {@code HttpAsyncClients} instead.</p>
79+
*/
80+
protected DefaultAsyncClientConnectionOperator(
7381
final Lookup<TlsStrategy> tlsStrategyLookup,
7482
final SchemePortResolver schemePortResolver,
7583
final DnsResolver dnsResolver) {

0 commit comments

Comments
 (0)