This is a comprehensive guide to using Apache HttpClient 4 - from starting out to advanced configuration and best practices.
1. HttpClient Basics
Learn the basics of sending a Request, receiving and interpreting the Response and configure the Client for basic usage.
2. Advanced Usage
Go into more advanced usecases of configuring the client with SSL, Custom Cookies, different types of Requests, etc.
The implementation of all these examples and code snippets can be found in my github project – this is an Eclipse based project, so it should be easy to import and run as it is.