Migrates deprecated DefaultHttpClient
MSALSince DefaultHttpClient is deprecated, we need to change it to the CloseableHttpClient. It only covers the default scenario with no custom HttpParams or ConnectionManager.
Of note: the DefaultHttpClient does not support TLS 1.2.
References:
org. openrewrite. apache. httpclient4. MigrateDefaultHttpClientmod run . --recipe= org. openrewrite. apache. httpclient4. MigrateDefaultHttpClientInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.