java application for sending http request and parsing data