title: How to get response time of a url/website in android service?
body: <p>I was developing an app to check if a website is responding or not. Also i wanted to know the response time of a particular url.</p>
  
  <p>I used webviewclient for getting the response code. </p>
  
  <p>But I want to implement it in service and webviewclient can't be used in services. I want this to be done only in services and not in activity . Please help.</p>
  
  <p>Any java codes using http to know the response code, response time of url would be helpfull. Thanks in advance:)</p>