class HttpClient implements IHttpClient {

	public boolean check(String url) {		
		Transaction transaction = Tracer.newTransaction("mq-http-doubleCheck", url);
		Response response = null;
		try {
			Request request = new Request.Builder().url(url).get().build();
		    response = client.newCall(request).execute();	
		    transaction.setStatus(Transaction.SUCCESS);
			return response.isSuccessful();
		} catch (Exception e) {
			transaction.setStatus(e);			
			return false;
		} finally {			
			transaction.complete();
			try {
				if (response != null) {
					response.close();
				}
			} catch (Exception e) {

			}
		}
	}

	public  HttpClient(long connTimeout, long readTimeout);
	public  HttpClient();

}