Links
Comment on page

Migrate to ApacheHttpClient 5.x Classes Namespace from 4.x

org.openrewrite.java.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping
Mapping of all the compatible classes of ApacheHttpClient 5.x from 4.x.

Recipe source

  • groupId: org.openrewrite.recipe
  • artifactId: rewrite-spring
  • version: 5.1.2
This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above.

Usage

This recipe has no required configuration options. It can be activated by adding a dependency on org.openrewrite.recipe:rewrite-spring:5.1.2 in your build file or by running a shell command (in which case no build changes are needed):
Gradle
Gradle init script
Maven POM
Maven Command Line
Moderne CLI
  1. 1.
    Add the following to your build.gradle file:
build.gradle
plugins {
id("org.openrewrite.rewrite") version("6.5.6")
}
rewrite {
activeRecipe("org.openrewrite.java.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping")
}
repositories {
mavenCentral()
}
dependencies {
rewrite("org.openrewrite.recipe:rewrite-spring:5.1.2")
}
  1. 2.
    Run gradle rewriteRun to run the recipe.
  1. 1.
    Create a file named init.gradle in the root of your project.
init.gradle
initscript {
repositories {
maven { url "https://plugins.gradle.org/m2" }
}
dependencies { classpath("org.openrewrite:plugin:6.5.6") }
}
rootProject {
plugins.apply(org.openrewrite.gradle.RewritePlugin)
dependencies {
rewrite("org.openrewrite.recipe:rewrite-spring:5.1.2")
}
rewrite {
activeRecipe("org.openrewrite.java.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping")
}
afterEvaluate {
if (repositories.isEmpty()) {
repositories {
mavenCentral()
}
}
}
}
  1. 2.
    Run gradle --init-script init.gradle rewriteRun to run the recipe.
  1. 1.
    Add the following to your pom.xml file:
pom.xml
<project>
<build>
<plugins>
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.13.0</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping</recipe>
</activeRecipes>
</configuration>
<dependencies>
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-spring</artifactId>
<version>5.1.2</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
  1. 2.
    Run mvn rewrite:run to run the recipe.
shell
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
-Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE \
-Drewrite.activeRecipes=org.openrewrite.java.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping
You will need to have configured the Moderne CLI on your machine before you can run the following command.
shell
mod run . --recipe UpgradeApacheHttpClient_5_ClassMapping

Definition

Recipe List
Yaml Recipe List
    • oldPackageName: org.apache.http.client.methods
    • newPackageName: org.apache.hc.client5.http.classic.methods
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.classic.methods.CloseableHttpResponse
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.CloseableHttpResponse
    • oldPackageName: org.apache.http.client.entity
    • newPackageName: org.apache.hc.client5.http.entity
    • oldPackageName: org.apache.http.client.protocol
    • newPackageName: org.apache.hc.client5.http.protocol
    • oldPackageName: org.apache.http.conn.socket
    • newPackageName: org.apache.hc.client5.http.socket
    • oldPackageName: org.apache.http.ssl
    • newPackageName: org.apache.hc.core5.ssl
    • oldPackageName: org.apache.http.concurrent
    • newPackageName: org.apache.hc.core5.concurrent
    • oldPackageName: org.apache.http.impl.auth
    • newPackageName: org.apache.hc.client5.http.impl.auth
    • oldPackageName: org.apache.http.impl.cookie
    • newPackageName: org.apache.hc.client5.http.impl.cookie
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.cookie.PublicSuffixListParser
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.psl.PublicSuffixListParser
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.cookie.DateUtils
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.utils.DateUtils
    • oldPackageName: org.apache.http.impl.client
    • newPackageName: org.apache.hc.client5.http.impl.classic
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.BasicAuthCache
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.BasicAuthCache
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.HttpAuthenticator
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.HttpAuthenticator
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.SystemDefaultCredentialsProvider
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.SystemDefaultCredentialsProvider
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultClientConnectionReuseStrategy
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultClientConnectionReuseStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultRedirectStrategy
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultRedirectStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.RedirectLocations
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.protocol.RedirectLocations
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.BasicCookieStore
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.cookie.BasicCookieStore
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultConnectionKeepAliveStrategy
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultConnectionKeepAliveStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.IdleConnectionEvictor
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.IdleConnectionEvictor
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.TunnelRefusedException
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.TunnelRefusedException
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.NoopUserTokenHandler
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.NoopUserTokenHandler
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultUserTokenHandler
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultUserTokenHandler
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.BasicCredentialsProvider
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.BasicCredentialsProvider
    • oldPackageName: org.apache.http.auth
    • newPackageName: org.apache.hc.client5.http.auth
    • oldPackageName: org.apache.http.cookie
    • newPackageName: org.apache.hc.client5.http.cookie
    • oldPackageName: org.apache.http.cookie
    • newPackageName: org.apache.hc.client5.http.cookie
    • oldPackageName: org.apache.http.annotation
    • newPackageName: org.apache.hc.core5.annotation
    • oldPackageName: org.apache.http.client.config
    • newPackageName: org.apache.hc.client5.http.config
    • existingFullyQualifiedConstantName: org.apache.hc.client5.http.config.CookieSpecs.IGNORE_COOKIES
    • fullyQualifiedConstantName: org.apache.hc.client5.http.cookie.StandardCookieSpec.IGNORE
    • existingFullyQualifiedConstantName: org.apache.hc.client5.http.config.CookieSpecs.STANDARD
    • fullyQualifiedConstantName: org.apache.hc.client5.http.cookie.StandardCookieSpec.RELAXED
    • existingFullyQualifiedConstantName: org.apache.hc.client5.http.config.CookieSpecs.STANDARD_STRICT
    • fullyQualifiedConstantName: org.apache.hc.client5.http.cookie.StandardCookieSpec.STRICT
    • oldPackageName: org.apache.http.annotation
    • newPackageName: org.apache.hc.core5.annotation
    • oldPackageName: org.apache.http.entity
    • newPackageName: org.apache.hc.core5.http.io.entity
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.io.entity.ContentLengthStrategy
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.ContentLengthStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.io.entity.ContentType
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.ContentType
    • oldPackageName: org.apache.http.impl.bootstrap
    • newPackageName: org.apache.hc.core5.http.impl.bootstrap
    • oldPackageName: org.apache.http.impl.execchain
    • newPackageName: org.apache.hc.client5.http.impl.classic
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.TunnelRefusedException
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.TunnelRefusedException
    • oldPackageName: org.apache.http.impl.io
    • newPackageName: org.apache.hc.core5.http.impl.io
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.DefaultHttpResponseParserFactory
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.DefaultHttpResponseParserFactory
    • oldPackageName: org.apache.http.io
    • newPackageName: org.apache.hc.core5.http.io
    • oldPackageName: org.apache.http.message
    • newPackageName: org.apache.hc.core5.http.message
    • oldPackageName: org.apache.http.pool
    • newPackageName: org.apache.hc.core5.pool
    • oldPackageName: org.apache.http.protocol
    • newPackageName: org.apache.hc.core5.http.protocol
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.protocol.HttpService
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.HttpService
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.protocol.HttpRequestExecutor
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.HttpRequestExecutor
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.protocol.HttpRequestHandler
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.HttpRequestHandler
    • oldPackageName: org.apache.http.util
    • newPackageName: org.apache.hc.core5.util
    • oldFullyQualifiedTypeName: org.apache.hc.core5.util.EntityUtils
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.entity.EntityUtils
    • oldFullyQualifiedTypeName: org.apache.http.client.utils.URIBuilder
    • newFullyQualifiedTypeName: org.apache.hc.core5.net.URIBuilder
    • oldFullyQualifiedTypeName: org.apache.http.client.utils.URLEncodedUtils
    • newFullyQualifiedTypeName: org.apache.hc.core5.net.URLEncodedUtils
    • oldFullyQualifiedTypeName: org.apache.http.client.utils.URIUtils
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.utils.URIUtils
    • oldFullyQualifiedTypeName: org.apache.http.client.utils.DateUtils
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.utils.DateUtils
    • oldPackageName: org.apache.http.client
    • newPackageName: org.apache.hc.client5.http
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.CredentialsProvider
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.auth.CredentialsProvider
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.AuthCache
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.auth.AuthCache
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.BackoffManager
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.classic.BackoffManager
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.HttpClient
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.classic.HttpClient
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.ConnectionBackoffStrategy
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.classic.ConnectionBackoffStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.CookieStore
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.cookie.CookieStore
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.RedirectStrategy
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.protocol.RedirectStrategy
    • oldPackageName: org.apache.http.config
    • newPackageName: org.apache.hc.core5.http.config
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.config.SocketConfig
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.SocketConfig
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.config.SocketConfig.Builder
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.SocketConfig.Builder
    • oldPackageName: org.apache.http.impl
    • newPackageName: org.apache.hc.core5.http.impl.io
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.EnglishReasonPhraseCatalog
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.impl.EnglishReasonPhraseCatalog
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.DefaultConnectionReuseStrategy
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.impl.DefaultConnectionReuseStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.DefaultHttpRequestFactory
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.impl.nio.DefaultHttpRequestFactory
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.DefaultHttpResponseFactory
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.impl.nio.DefaultHttpResponseFactory
    • oldPackageName: org.apache.http.conn.util
    • newPackageName: org.apache.hc.client5.http.psl
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.psl.DnsUtils
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.utils.DnsUtils
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.psl.InetAddressUtils
    • newFullyQualifiedTypeName: org.apache.hc.core5.net.InetAddressUtils
    • oldPackageName: org.apache.http.conn.routing
    • newPackageName: org.apache.hc.client5.http
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.BasicRouteDirector
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.routing.BasicRouteDirector
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.HttpRouteDirector
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.routing.HttpRouteDirector
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.HttpRoutePlanner
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.routing.HttpRoutePlanner
    • oldPackageName: org.apache.http.conn.ssl
    • newPackageName: org.apache.hc.core5.ssl
    • oldFullyQualifiedTypeName: org.apache.hc.core5.ssl.SSLConnectionSocketFactory
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory
    • oldFullyQualifiedTypeName: org.apache.hc.core5.ssl.NoopHostnameVerifier
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.ssl.NoopHostnameVerifier
    • oldFullyQualifiedTypeName: org.apache.hc.core5.ssl.DefaultHostnameVerifier
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.ssl.DefaultHostnameVerifier
    • oldFullyQualifiedTypeName: org.apache.hc.core5.ssl.TrustSelfSignedStrategy
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.ssl.TrustSelfSignedStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.core5.ssl.TrustAllStrategy
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.ssl.TrustAllStrategy
    • oldFullyQualifiedTypeName: org.apache.hc.core5.ssl.SubjectName
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.ssl.SubjectName
    • oldPackageName: org.apache.http.impl.conn
    • newPackageName: org.apache.hc.client5.http.impl.io
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.SystemDefaultDnsResolver
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.SystemDefaultDnsResolver
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.Wire
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.Wire
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.InMemoryDnsResolver
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.InMemoryDnsResolver
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.ConnectionShutdownException
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.ConnectionShutdownException
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.DefaultSchemePortResolver
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultSchemePortResolver
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.DefaultProxyRoutePlanner
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.routing.DefaultProxyRoutePlanner
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.DefaultRoutePlanner
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.routing.DefaultRoutePlanner
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.SystemDefaultRoutePlanner
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.routing.SystemDefaultRoutePlanner
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.io.DefaultHttpResponseParser
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.impl.io.DefaultHttpResponseParser
    • oldPackageName: org.apache.http.conn
    • newPackageName: org.apache.hc.client5.http
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.ManagedHttpClientConnection
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.io.ManagedHttpClientConnection
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.HttpClientConnectionManager
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.io.HttpClientConnectionManager
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.HttpClientConnectionOperator
    • newFullyQualifiedTypeName: org.apache.hc.client5.http.io.HttpClientConnectionOperator
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.EofSensorWatcher
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.EofSensorWatcher
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.EofSensorInputStream
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.EofSensorInputStream
    • oldFullyQualifiedTypeName: org.apache.hc.client5.http.HttpConnectionFactory
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.HttpConnectionFactory
    • oldPackageName: org.apache.http
    • newPackageName: org.apache.hc.core5.http
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.RequestLine
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.message.RequestLine
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.RequestLine
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.message.RequestLine
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.HttpClientConnection
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.HttpClientConnection
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.StatusLine
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.message.StatusLine
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.HttpServerConnection
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.HttpServerConnection
    • oldFullyQualifiedTypeName: org.apache.hc.core5.http.HttpConnectionFactory
    • newFullyQualifiedTypeName: org.apache.hc.core5.http.io.HttpConnectionFactory
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping
displayName: Migrate to ApacheHttpClient 5.x Classes Namespace from 4.x
description: Mapping of all the compatible classes of ApacheHttpClient 5.x from 4.x.
recipeList:
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.client.methods
newPackageName: org.apache.hc.client5.http.classic.methods
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.classic.methods.CloseableHttpResponse
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.CloseableHttpResponse
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.client.entity
newPackageName: org.apache.hc.client5.http.entity
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.client.protocol
newPackageName: org.apache.hc.client5.http.protocol
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.conn.socket
newPackageName: org.apache.hc.client5.http.socket
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.ssl
newPackageName: org.apache.hc.core5.ssl
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.concurrent
newPackageName: org.apache.hc.core5.concurrent
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.impl.auth
newPackageName: org.apache.hc.client5.http.impl.auth
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.impl.cookie
newPackageName: org.apache.hc.client5.http.impl.cookie
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.cookie.PublicSuffixListParser
newFullyQualifiedTypeName: org.apache.hc.client5.http.psl.PublicSuffixListParser
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.cookie.DateUtils
newFullyQualifiedTypeName: org.apache.hc.client5.http.utils.DateUtils
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.impl.client
newPackageName: org.apache.hc.client5.http.impl.classic
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.BasicAuthCache
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.BasicAuthCache
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.HttpAuthenticator
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.HttpAuthenticator
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.SystemDefaultCredentialsProvider
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.SystemDefaultCredentialsProvider
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultClientConnectionReuseStrategy
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultClientConnectionReuseStrategy
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultRedirectStrategy
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultRedirectStrategy
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.RedirectLocations
newFullyQualifiedTypeName: org.apache.hc.client5.http.protocol.RedirectLocations
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.BasicCookieStore
newFullyQualifiedTypeName: org.apache.hc.client5.http.cookie.BasicCookieStore
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultConnectionKeepAliveStrategy
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultConnectionKeepAliveStrategy
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.IdleConnectionEvictor
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.IdleConnectionEvictor
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.TunnelRefusedException
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.TunnelRefusedException
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.NoopUserTokenHandler
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.NoopUserTokenHandler
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.DefaultUserTokenHandler
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultUserTokenHandler
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.apache.hc.client5.http.impl.classic.BasicCredentialsProvider
newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.auth.BasicCredentialsProvider
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.auth
newPackageName: org.apache.hc.client5.http.auth
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.cookie
newPackageName: org.apache.hc.client5.http.cookie
- org.openrewrite.java.ChangePackage:
oldPackageName: org.apache.http.cookie
newPackageName: org.apache.hc.client5.http.cookie