Searched refs:connection2 (Results 1 – 8 of 8) sorted by relevance
92 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders() local93 assertResponseHeader(connection2, "CONDITIONAL_CACHE 304"); in conditionalCacheHitResponseSourceHeaders()94 assertResponseBody(connection2, "Isla Nublar"); in conditionalCacheHitResponseSourceHeaders()108 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders() local109 assertResponseHeader(connection2, "CONDITIONAL_CACHE 200"); in conditionalCacheMissResponseSourceHeaders()110 assertResponseBody(connection2, "Isla Sorna"); in conditionalCacheMissResponseSourceHeaders()122 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders() local123 assertResponseHeader(connection2, "CACHE 200"); in cacheResponseSourceHeaders()124 assertResponseBody(connection2, "Isla Nublar"); in cacheResponseSourceHeaders()134 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in noneResponseSourceHeaders() local[all …]
345 HttpsURLConnection connection2 = (HttpsURLConnection) client.open(server.getUrl("/")); in secureResponseCachingAndRedirects() local346 assertEquals("ABC", readAscii(connection2)); in secureResponseCachingAndRedirects()347 assertNotNull(connection2.getCipherSuite()); in secureResponseCachingAndRedirects()351 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); in secureResponseCachingAndRedirects()381 HttpURLConnection connection2 = client.open(server.getUrl("/")); in secureResponseCachingAndProtocolRedirects() local382 assertEquals("ABC", readAscii(connection2)); in secureResponseCachingAndProtocolRedirects()1252 URLConnection connection2 = client.open(url); in varyMatchesUnchangedRequestHeaderField() local1253 connection2.addRequestProperty("Accept-Language", "fr-CA"); in varyMatchesUnchangedRequestHeaderField()1254 assertEquals("A", readAscii(connection2)); in varyMatchesUnchangedRequestHeaderField()1301 URLConnection connection2 = client.open(url); in varyFieldsAreCaseInsensitive() local[all …]
358 HttpsURLConnection connection2 = (HttpsURLConnection) openConnection(server.getUrl("/")); in secureResponseCachingAndRedirects() local359 assertEquals("ABC", readAscii(connection2)); in secureResponseCachingAndRedirects()360 assertNotNull(connection2.getCipherSuite()); in secureResponseCachingAndRedirects()362 assertEquals(connection1.getCipherSuite(), connection2.getCipherSuite()); in secureResponseCachingAndRedirects()395 HttpURLConnection connection2 = openConnection(server.getUrl("/")); in secureResponseCachingAndProtocolRedirects() local396 assertEquals("ABC", readAscii(connection2)); in secureResponseCachingAndProtocolRedirects()906 HttpURLConnection connection2 = openConnection(server.getUrl("/")); in clientSideNoStore() local907 assertEquals("B", readAscii(connection2)); in clientSideNoStore()1316 HttpURLConnection connection2 = openConnection(server.getUrl("/")); in varyMatchesAddedRequestHeaderField() local1317 connection2.setRequestProperty("Foo", "bar"); in varyMatchesAddedRequestHeaderField()[all …]
187 HttpURLConnection connection2 = client.open(server.getUrl("/r2")); in spdyConnectionReuse() local189 assertEquals("GHI", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()191 assertEquals("JKL", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()317 HttpURLConnection connection2 = client.open(server.getUrl("/")); in spdyConnectionTimeout() local318 connection2.setReadTimeout(200); in spdyConnectionTimeout()320 connection2.connect(); in spdyConnectionTimeout()367 HttpURLConnection connection2 = client.open(server.getUrl("/")); in responseCachedWithoutConsumingFullBody() local368 InputStream in2 = connection2.getInputStream(); in responseCachedWithoutConsumingFullBody()410 HttpURLConnection connection2 = client.open(server.getUrl("/")); in disconnectWithStreamNotEstablished() local411 assertContent("abc", connection2, 3); in disconnectWithStreamNotEstablished()
102 HttpURLConnection connection2 = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams() local103 connection2.connect(); in settingsLimitsMaxConcurrentStreams()107 assertContent("DEF", connection2, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
422 HttpURLConnection connection2 = client.open(server.getUrl("/b")); in testServerClosesOutput() local423 connection2.setReadTimeout(100); in testServerClosesOutput()424 assertContent("This comes after a busted connection", connection2); in testServerClosesOutput()589 HttpURLConnection connection2 = client.open(server.getUrl("/")); in connectViaHttpsReusingConnectionsDifferentFactories() local591 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); in connectViaHttpsReusingConnectionsDifferentFactories()1261 HttpURLConnection connection2 = client.open(server.getUrl("/")); in testClientConfiguredGzipContentEncodingAndConnectionReuse() local1262 assertEquals("two (identity)", readAscii(connection2.getInputStream(), Integer.MAX_VALUE)); in testClientConfiguredGzipContentEncodingAndConnectionReuse()1322 HttpURLConnection connection2 = client.open(server.getUrl("/")); in testEarlyDisconnectDoesntHarmPooling() local1323 InputStream in2 = connection2.getInputStream(); in testEarlyDisconnectDoesntHarmPooling()1326 connection2.disconnect(); in testEarlyDisconnectDoesntHarmPooling()[all …]
META-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...