2022-04-20 18:06:56 +05:30
|
|
|
|
## Apache HttpClient
|
2019-10-31 20:43:47 -05:00
|
|
|
|
|
2022-04-20 18:06:56 +05:30
|
|
|
|
This module contains articles about Apache HttpClient
|
2019-10-31 20:43:47 -05:00
|
|
|
|
|
2019-10-25 14:14:04 +02:00
|
|
|
|
### The Course
|
2019-10-31 20:43:47 -05:00
|
|
|
|
|
|
|
|
|
The "REST With Spring" Classes: http://bit.ly/restwithspring
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
2022-04-05 20:07:20 +08:00
|
|
|
|
- [Apache HttpClient – Cancel Request](https://www.baeldung.com/httpclient-cancel-request)
|
2023-06-09 14:47:17 +05:30
|
|
|
|
- [Apache HttpClient Cookbook](https://www.baeldung.com/apache-httpclient-cookbook)
|
2022-04-05 19:57:40 +08:00
|
|
|
|
- [Apache HttpClient – Follow Redirects for POST](https://www.baeldung.com/httpclient-redirect-on-http-post)
|
2022-04-05 19:45:54 +08:00
|
|
|
|
- [Multipart Upload with Apache HttpClient](https://www.baeldung.com/httpclient-multipart-upload)
|
2022-04-05 19:41:06 +08:00
|
|
|
|
- [Apache HttpAsyncClient Tutorial](https://www.baeldung.com/httpasyncclient-tutorial)
|
2022-04-05 19:33:43 +08:00
|
|
|
|
- [Apache HttpClient Tutorial](https://www.baeldung.com/httpclient-guide)
|
2022-04-20 22:52:32 +08:00
|
|
|
|
- [Advanced Apache HttpClient Configuration](https://www.baeldung.com/httpclient-advanced-config)
|
2022-04-05 20:01:22 +08:00
|
|
|
|
- [Apache HttpClient – Do Not Follow Redirects](https://www.baeldung.com/httpclient-stop-follow-redirect)
|
2022-04-05 20:10:03 +08:00
|
|
|
|
- [Custom User-Agent in Apache HttpClient](https://www.baeldung.com/httpclient-user-agent-header)
|
2022-03-26 22:25:43 +05:30
|
|
|
|
- [Apache HttpClient Connection Management](https://www.baeldung.com/httpclient-connection-management)
|
2024-05-02 12:20:52 -04:00
|
|
|
|
- [How to Set TLS Version in Apache HttpClient](https://www.baeldung.com/apache-httpclient-tls)
|
|
|
|
|
- [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)
|
|
|
|
|
- [Apache HttpClient vs. CloseableHttpClient](https://www.baeldung.com/apache-httpclient-vs-closeablehttpclient)
|
|
|
|
|
- [Apache HttpClient – Cancel Request](https://www.baeldung.com/httpclient-cancel-request)
|
|
|
|
|
- [Apache HttpClient with SSL](https://www.baeldung.com/httpclient-ssl)
|
|
|
|
|
- [Apache HttpClient Timeout](https://www.baeldung.com/httpclient-timeout)
|
|
|
|
|
- [Custom HTTP Header with the Apache HttpClient](https://www.baeldung.com/httpclient-custom-http-header)
|
|
|
|
|
- [Apache HttpClient vs. CloseableHttpClient](https://www.baeldung.com/apache-httpclient-vs-closeablehttpclient)
|
|
|
|
|
- [Expand Shortened URLs with Apache HttpClient](https://www.baeldung.com/apache-httpclient-expand-url)
|
|
|
|
|
- [Retrying Requests using Apache HttpClient](https://www.baeldung.com/java-retrying-requests-using-apache-httpclient)
|
|
|
|
|
- [Apache HttpClient – Follow Redirects for POST](https://www.baeldung.com/httpclient-redirect-on-http-post)
|
|
|
|
|
|
|
|
|
|
### Running the Tests
|
|
|
|
|
To run the live tests, use the command: mvn clean install -Plive
|
|
|
|
|
This will start an embedded Jetty server on port 8082 using the Cargo plugin configured in the pom.xml file,
|
|
|
|
|
for the live Maven profile
|
|
|
|
|
|