Searched refs:urlc (Results 1 – 1 of 1) sorted by relevance
130 HttpURLConnection urlc = null; in exerciseRemoteHost() local134 urlc = (HttpURLConnection) network.openConnection(new URL( in exerciseRemoteHost()136 urlc.setConnectTimeout(TIMEOUT_MILLIS); in exerciseRemoteHost()137 urlc.setUseCaches(false); in exerciseRemoteHost()138 urlc.connect(); in exerciseRemoteHost()139 boolean ping = urlc.getResponseCode() == 200; in exerciseRemoteHost()142 (InputStream) urlc.getContent()); in exerciseRemoteHost()157 if (urlc != null) { in exerciseRemoteHost()158 urlc.disconnect(); in exerciseRemoteHost()