use httpclient to replace java URL