From effbf4360cb819091dd4457dada38d08c123e8b6 Mon Sep 17 00:00:00 2001 From: Haroon Khan Date: Fri, 1 Apr 2022 15:50:07 +0100 Subject: [PATCH] [JAVA-11196] Split httpclient module --- httpclient-2/README.md | 1 + httpclient-2/pom.xml | 5 +++++ .../httpclient/rare/HttpClientUnshortenLiveTest.java | 0 httpclient/README.md | 1 - httpclient/pom.xml | 6 ------ 5 files changed, 6 insertions(+), 7 deletions(-) rename {httpclient => httpclient-2}/src/test/java/com/baeldung/httpclient/rare/HttpClientUnshortenLiveTest.java (100%) 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 3c5b0b3376..8cc61386e1 100644 --- a/httpclient/README.md +++ b/httpclient/README.md @@ -10,7 +10,6 @@ The "REST With Spring" Classes: http://bit.ly/restwithspring - [HttpClient 4 – Cancel Request](https://www.baeldung.com/httpclient-cancel-request) - [HttpClient 4 Cookbook](https://www.baeldung.com/httpclient4) -- [Unshorten URLs with HttpClient](https://www.baeldung.com/unshorten-url-httpclient) - [HttpClient 4 – Follow Redirects for POST](https://www.baeldung.com/httpclient-redirect-on-http-post) - [Multipart Upload with HttpClient 4](https://www.baeldung.com/httpclient-multipart-upload) - [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