|
35 | 35 | import org.apache.hc.client5.http.nio.AsyncClientConnectionOperator; |
36 | 36 | import org.apache.hc.client5.http.ssl.ConscryptClientTlsStrategy; |
37 | 37 | import org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy; |
38 | | -import org.apache.hc.core5.annotation.Experimental; |
39 | 38 | import org.apache.hc.core5.annotation.Internal; |
40 | 39 | import org.apache.hc.core5.function.Resolver; |
41 | 40 | import org.apache.hc.core5.http.HttpHost; |
@@ -68,7 +67,7 @@ public class PoolingAsyncClientConnectionManagerBuilder { |
68 | 67 |
|
69 | 68 | private Resolver<HttpRoute, ConnectionConfig> connectionConfigResolver; |
70 | 69 | private Resolver<HttpHost, TlsConfig> tlsConfigResolver; |
71 | | - private boolean messageMultiplexing; |
| 70 | + private boolean messageMultiplexing = true; |
72 | 71 |
|
73 | 72 | public static PoolingAsyncClientConnectionManagerBuilder create() { |
74 | 73 | return new PoolingAsyncClientConnectionManagerBuilder(); |
@@ -249,18 +248,15 @@ public final PoolingAsyncClientConnectionManagerBuilder useSystemProperties() { |
249 | 248 | } |
250 | 249 |
|
251 | 250 | /** |
252 | | - * Use experimental connections pool implementation that acts as a caching facade |
253 | | - * in front of a standard connection pool and shares already leased connections |
| 251 | + * Use an extra pool of connections that acts as a caching facade in front |
| 252 | + * of a standard connection pool and shares already leased connections |
254 | 253 | * to multiplex message exchanges over active HTTP/2 connections. |
255 | 254 | *<p> |
256 | 255 | * Please note this flag has no effect on HTTP/1.1 and HTTP/1.0 connections. |
257 | | - *<p> |
258 | | - * This feature is considered experimenal |
259 | 256 | * |
260 | 257 | * @since 5.5 |
261 | 258 | * @return this instance. |
262 | 259 | */ |
263 | | - @Experimental |
264 | 260 | public final PoolingAsyncClientConnectionManagerBuilder setMessageMultiplexing(final boolean messageMultiplexing) { |
265 | 261 | this.messageMultiplexing = messageMultiplexing; |
266 | 262 | return this; |
|
0 commit comments