Home
last modified time | relevance | path

Searched refs:getUrl (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java239 HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").openConnection(); in requestHeaders()
300 HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").openConnection(); in getRequestPropertyReturnsLastValue()
315 HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").openConnection(); in responseHeaders()
344 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in getErrorStreamOnSuccessfulRequest()
351 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in getErrorStreamOnUnsuccessfulRequest()
365 assertContent("ABCDE", server.getUrl("/").openConnection(), 5); in bug2939()
366 assertContent("ABCDE", server.getUrl("/").openConnection(), 5); in bug2939()
384 assertContent("ABCDEFGHIJKLMNOPQR", server.getUrl("/foo").openConnection()); in connectionsArePooled()
386 assertContent("ABCDEFGHIJKLMNOPQR", server.getUrl("/bar?baz=quux").openConnection()); in connectionsArePooled()
388 assertContent("ABCDEFGHIJKLMNOPQR", server.getUrl("/z").openConnection()); in connectionsArePooled()
[all …]
DOldCookieHandlerTest.java69 URLConnection connection = server.getUrl("/path/foo").openConnection(); in test_get_put()
DAbstractCookiesTest.java345 cookieManager.getCookieStore().add(server.getUrl("/").toURI(), cookieA); in testSendingCookiesFromStore()
347 cookieManager.getCookieStore().add(server.getUrl("/").toURI(), cookieB); in testSendingCookiesFromStore()
367 .addHeader("Location: " + redirectTarget.getUrl("/"))); in testRedirectsDoNotIncludeTooManyCookies()
375 cookieManager.getCookieStore().add(redirectSource.getUrl("/").toURI(), cookie); in testRedirectsDoNotIncludeTooManyCookies()
418 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in testHeadersSentToCookieHandler()
760 URLConnection connection = server.getUrl(path).openConnection(); in get()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java139 URL url = webServer.getUrl("/"); in testHttpsConnection()
172 URL url = webServer.getUrl("/"); in testHttpsConnection_Not_Found_Response()
217 URL url = webServer.getUrl("/"); in testSetDefaultSSLSocketFactory()
257 URL url = webServer.getUrl("/"); in testSetSSLSocketFactory()
333 URL url = webServer.getUrl("/"); in testSetHostnameVerifier()
369 URL url = webServer.getUrl("/"); in test_doOutput()
406 URL proxyUrl = proxyAndWebServer.getUrl("/"); in testProxyConnection()
455 URL proxyUrl = proxyAndWebServer.getUrl("/"); in testProxyAuthConnection()
489 URL proxyUrl1 = proxyAndWebServer1.getUrl("/"); in testConsequentProxyConnection()
505 URL proxyUrl2 = proxyAndWebServer2.getUrl("/"); in testConsequentProxyConnection()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java63 url = server.getUrl("/"); in setUp()
/libcore/luni/src/test/java/libcore/xml/
DExpatSaxParserTest.java598 assertEquals(server.getUrl("/systemBar").toString(), systemId); in testExternalEntityDownload()
623 source.setSystemId(server.getUrl("/systemFoo").toString()); in testExternalEntityDownload()
/libcore/ojluni/src/main/java/javax/sql/
DRowSet.java107 String getUrl() throws SQLException; in getUrl() method
/libcore/api/
Dcurrent.txt18381 method public String getUrl() throws java.sql.SQLException;