Searched refs:openConnection (Results 1 – 16 of 16) sorted by relevance
139 URLConnection c1 = server.getUrl("/").openConnection(); in testStatisticsTracking()148 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking()151 URLConnection c3 = server.getUrl("/").openConnection(); in testStatisticsTracking()
110 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionFails()121 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionSucceeds()
139 URLConnection connection = openConnection(url); in shutdown()322 private URLConnection openConnection(URL url) in openConnection() method in TestWebServer329 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in openConnection()339 return url.openConnection(); in openConnection()
119 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
164 urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
225 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testCleartextNetwork()244 ((HttpURLConnection) new URL("https://example.com/").openConnection()) in testEncryptedNetwork()340 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()349 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()478 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNetwork()631 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNoCleartextHttpTrafficAllowed()
78 conn = (HttpURLConnection) url.openConnection(); in assertCleartextHttpURLConnectionSucceeds()96 conn = (HttpURLConnection) url.openConnection(); in assertCleartextHttpURLConnectionBlocked()
247 urlConnection = (HttpURLConnection) url.openConnection();
199 urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
369 urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
629 (HttpURLConnection) network.openConnection(new URL(url));
397 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in makeHttpsRequest()
185 urlc = (HttpURLConnection) network.openConnection(url); in exerciseRemoteHost()
1030 urlc = (HttpURLConnection) network.openConnection(url); in exerciseRemoteHost()
2991 connection = (HttpURLConnection) url.openConnection(); in sendTraffic()
192 name: "openConnection"