You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`org.asynchttpclient.HttpResponseHeaders` was dropped in favor of `io.netty.handler.codec.http.HttpHeaders`.
5
+
*`org.asynchttpclient.cookie.Cookie` was dropped in favor of `io.netty.handler.codec.http.cookie.Cookie` as AHC's cookie parsers were contributed to Netty.
6
+
* AHC now has a RFC6265 `CookieStore` that is enabled by default. Implementation can be changed in `AsyncHttpClientConfig`.
7
+
*`AsyncHttpClient` now exposes stats with `getClientStats`.
8
+
*`AsyncHandlerExtensions` was dropped in favor of default methods in `AsyncHandler`.
9
+
*`WebSocket` and `WebSocketListener` methods were renamed to mention frames
10
+
*`AsyncHttpClientConfig#isAggregateWebSocketFrameFragments` now lets you disable WebSocket fragmented frames aggregation
.thenApply(resp-> { /* Do something with the Response */return resp; });
199
-
promise.join(); // wait for completion
198
+
.thenApply(response-> { /* Do something with the Response */return resp; });
199
+
whenResponse.join(); // wait for completion
200
200
```
201
201
202
202
You may get the complete maven project for this simple demo from [org.asynchttpclient.example](https://github.com/AsyncHttpClient/async-http-client/tree/master/example/src/main/java/org/asynchttpclient/example)
0 commit comments