title: HTTP GET request in java
body: <p>I'm trying to use http get request on java, to my localhost on port number 4567.
  I got the get request: "wget -q  -O- <a href="http://localhost:4567/XXXX" rel="nofollow">http://localhost:4567/XXXX</a>"
  [XXXX is some parameter - not relevent].
  I've found a java library java.net.URLConnection for these kind of things but it seems that the URLConnection object is supposed to receive the url/port/.. and all other kind of parameters (In other words, you have to construct the object yourself), however, I got the full http get request as I've written above. Is there a way to simply 'shoot' the request without dealing with constructing the field for URLConnection?</p>