Migrate to ApacheHttpClient 5.x deprecated methods from 4.x

MSAL

Migrates deprecated methods to their equivalent ones in 5.x.

org.openrewrite.apache.httpclient5.StatusLine
mod run . --recipe=org.openrewrite.apache.httpclient5.StatusLine

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Simplify a call chain
  2. Simplify a call chain
  3. Simplify a call chain
  4. Replaces deprecated HttpResponse::getStatusLine()
  5. Replaces deprecated HttpRequestBase::getRequestLine()