- New
isFilterInsecureCipherSuites
config to disable unsecure and weak ciphers filtering performed internally in Netty.
- New Typesafe config extra module
- new
enableWebSocketCompression
config to enable per-message and per-frame WebSocket compression extension
- AHC 2.1 targets Netty 4.1.
org.asynchttpclient.HttpResponseHeaders
was dropped in favor ofio.netty.handler.codec.http.HttpHeaders
.org.asynchttpclient.cookie.Cookie
was dropped in favor ofio.netty.handler.codec.http.cookie.Cookie
as AHC's cookie parsers were contributed to Netty.- AHC now has a RFC6265
CookieStore
that is enabled by default. Implementation can be changed inAsyncHttpClientConfig
. AsyncHttpClient
now exposes stats withgetClientStats
.AsyncHandlerExtensions
was dropped in favor of default methods inAsyncHandler
.WebSocket
andWebSocketListener
methods were renamed to mention framesAsyncHttpClientConfig
various changes:- new
getCookieStore
now lets you configure a CookieStore (enabled by default) - new
isAggregateWebSocketFrameFragments
now lets you disable WebSocket fragmented frames aggregation - new
isUseLaxCookieEncoder
lets you loosen cookie chars validation isAcceptAnyCertificate
was dropped, as it didn't do what its name stated- new
isUseInsecureTrustManager
lets you use a permissive TrustManager, that would typically let you accept self-signed certificates - new
isDisableHttpsEndpointIdentificationAlgorithm
disables settingHTTPS
algorithm on the SSLEngines, typically disables SNI and HTTPS hostname verification - new
isAggregateWebSocketFrameFragments
lets you disable fragmented WebSocket frames aggregation
- new