After a quick search looks like you would want to use these native libraries:
java.net.HttpURLConnection // No SSL
java.net.HttpsURLConnection // SSL
Another option would be to use a ready made library that can simplify the process of making the requests for you:
https://jersey.github.io/documentation/latest/index.html