title: Easiest way to make http requests in java
body: <p>I'm looking for a maven artifact or some pre-existing framework that will turn making http requests into a 1 liner. For those familiar with Ruby, I'm thinking about something alomg the lines of Httparty which supports get, put, post... etc.</p>
  
  <p>ex: </p>
  
  <pre><code>Response response = SomeLibrary.get("https://api.google.com/maps")
  int code = response.code
  String body = response.body
  </code></pre>