I have learnt how to create a HTTP Get request method to retrieve data from a URL, but I would like to filter the response to only give me a list of the links on the webpage.
For example, if the HTML contained the following text:
<link href="http://www.thompsons.co.uk">
then it should print out:
You can use jsoup:
http://jsoup.org/cookbook/extracting-data/attributes-text-html