JAVA HTTP requests library inspired from python requests uses commons http
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
<dependency>
<groupId>org.datoin.net</groupId>
<artifactId>http-requests</artifactId>
<version>0.2.1</version>
</dependency>
Response response = Requests.get("http://datoin.com").execute();
String text = response.getContentAsString();
For More examples checkout test cases.