Skip to content

Commit f61cd20

Browse files
committed
HTTPASYNC-173 - Expose a protected constructor in DefaultAsyncClientConnectionOperator and mark it @SInCE 5.6.
1 parent 5c6c135 commit f61cd20

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,17 @@ public class DefaultAsyncClientConnectionOperator implements AsyncClientConnecti
7171
private final MultihomeIOSessionRequester sessionRequester;
7272
private final Lookup<TlsStrategy> tlsStrategyLookup;
7373

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

0 commit comments

Comments
 (0)