Replaces deprecated HttpResponse::getStatusLine()
MSALHttpResponse::getStatusLine() was deprecated in 4.x, so we replace it for new StatusLine(HttpResponse). Ideally we will try to simplify method chains for getStatusCode, getProtocolVersion and getReasonPhrase, but there are some scenarios where the StatusLine object is assigned or used directly, and we need to instantiate the object.
org. openrewrite. apache. httpclient5. NewStatusLinemod run . --recipe= org. openrewrite. apache. httpclient5. NewStatusLineInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.