diff --git a/httpclient-2/README.md b/httpclient-2/README.md index 4f9805063c..49adf470e9 100644 --- a/httpclient-2/README.md +++ b/httpclient-2/README.md @@ -12,4 +12,5 @@ The "REST With Spring" Classes: http://bit.ly/restwithspring - [Reading an HTTP Response Body as a String in Java](https://www.baeldung.com/java-http-response-body-as-string) - [How To Get Cookies From the Apache HttpClient Response](https://www.baeldung.com/java-apache-httpclient-cookies) - [Enabling Logging for Apache HttpClient](https://www.baeldung.com/apache-httpclient-enable-logging) +- [Unshorten URLs with HttpClient](https://www.baeldung.com/unshorten-url-httpclient) - More articles: [[<-- prev]](../httpclient) diff --git a/httpclient-2/pom.xml b/httpclient-2/pom.xml index 287ff27e35..32f2e80b18 100644 --- a/httpclient-2/pom.xml +++ b/httpclient-2/pom.xml @@ -15,6 +15,11 @@ + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + org.apache.httpcomponents diff --git a/httpclient/src/test/java/com/baeldung/httpclient/rare/HttpClientUnshortenLiveTest.java b/httpclient-2/src/test/java/com/baeldung/httpclient/rare/HttpClientUnshortenLiveTest.java similarity index 100% rename from httpclient/src/test/java/com/baeldung/httpclient/rare/HttpClientUnshortenLiveTest.java rename to httpclient-2/src/test/java/com/baeldung/httpclient/rare/HttpClientUnshortenLiveTest.java diff --git a/httpclient/README.md b/httpclient/README.md index 067ed6d0b4..ea3bc28572 100644 --- a/httpclient/README.md +++ b/httpclient/README.md @@ -7,10 +7,8 @@ This module contains articles about HttpClient 4.x The "REST With Spring" Classes: http://bit.ly/restwithspring ### Relevant Articles: - - [Apache HttpClient – Cancel Request](https://www.baeldung.com/httpclient-cancel-request) - [Apache HttpClient 4 Cookbook](https://www.baeldung.com/httpclient4) -- [Unshorten URLs with Apache HttpClient](https://www.baeldung.com/unshorten-url-httpclient) - [Apache HttpClient – Follow Redirects for POST](https://www.baeldung.com/httpclient-redirect-on-http-post) - [Multipart Upload with Apache HttpClient](https://www.baeldung.com/httpclient-multipart-upload) - [Apache HttpAsyncClient Tutorial](https://www.baeldung.com/httpasyncclient-tutorial) diff --git a/httpclient/pom.xml b/httpclient/pom.xml index a1627cb6fa..b69981fb13 100644 --- a/httpclient/pom.xml +++ b/httpclient/pom.xml @@ -15,12 +15,6 @@ - - - org.apache.commons - commons-lang3 - ${commons-lang3.version} - org.apache.httpcomponents