Skip to content

Commit 7dbe7a2

Browse files
HTTPASYNC-173 - Expose a protected constructor in DefaultAsyncClientConnectionOperator and mark it @SInCE 5.6. (#666)
1 parent 5c6c135 commit 7dbe7a2

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
@@ -71,7 +71,15 @@ 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+
protected DefaultAsyncClientConnectionOperator(
7583
final Lookup<TlsStrategy> tlsStrategyLookup,
7684
final SchemePortResolver schemePortResolver,
7785
final DnsResolver dnsResolver) {

0 commit comments

Comments
 (0)