Replaces deprecated HttpRequestBase::getRequestLine()

MSAL

HttpRequestBase::getStatusLine() was deprecated in 4.x, so we replace it with new RequestLine(HttpRequest). Ideally we will try to simply method chains for getMethod, getUri and getProtocolVersion, but there are some scenarios where RequestLine object is assigned or used directly, and we need to instantiate the object.

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

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