Yes there is a set of classes available under java.net package in Java to do it. First you need to get a URLConnection then call
openConnection().getInputStream() method on the URL connection object. This will give you an InputStream of the HTML page. You can refer to the Java API for more information.