| /libcore/luni/src/test/java/libcore/java/net/ |
| D | URLTest.java | 29 URL url = new URL("http://username:password@host:8080/directory/file?query#ref"); in testUrlParts() local 43 URL url = new URL("http://www.google.com:80/example?language[id]=2"); in testExplicitPort() local 105 URL url = new URL("http://user:pass@host/path/file?query#hash"); in testUrlSerialization() local 121 final URL url = new URL("http://user:pass@host/path/file?query#hash"); in testUrlSerializationWithHashCode() local 122 new SerializationTester<URL>(url, s) { in testUrlSerializationWithHashCode() argument 138 URL url = new URL("http:///path"); in testOmittedHost() local 145 URL url = new URL("http:/path"); in testNoHost() local 159 URL url = new URL("http://host"); in testNoPath() local 166 URL url = new URL("http://"); in testEmptyHostAndNoPath() local 180 URL url = new URL("http:"); in testNoHostAndNoPath() local [all …]
|
| D | OldJarURLConnectionTest.java | 132 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); in test_getEntryName() local 160 URL url = createContent("lf.jar", "missing"); in test_getJarFile() local 229 URL url = new URL("jar:file:" + file.getPath() + "!/HasAttributes.txt"); in test_setUseCaches() local 261 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); in test_getJarFileURL() local 301 URL url = new URL("jar:file:" + jarFileName + "!/" + entry); in test_getInputStream_DeleteJarFileUsingURLConnection() local 314 URL url = new URL("jar:file:" + jarFileName + "!/" + entry); in test_Constructor() local
|
| D | OldURLStreamHandlerTest.java | 108 URL url = new URL("http://test.org"); in test_parseURLLjava_net_URLLjava_lang_StringII() local 134 URL url = new URL("http://test.org"); in test_setURL1() local 144 URL url = new URL("http://test.org"); in test_setURL2() local 204 @Override public void parseURL(URL url, String spec, int start, int limit) { in parseURL()
|
| D | OldURLTest.java | 245 URL url = new URL("http://web2.javasoft.com/some+file.html"); in testSameFile() local 483 URL url = new URL("http://www.example.com"); in testGetPath() local 494 URL url = new URL("ftp://myUser:password@host.dom/etc/motd"); in testGetUserInfo() local 504 URL url = new URL("http://www.java2s.com:8080"); in testGetAuthority() local 617 public void parse(URL url, String spec, int start, int end) { in parse() 786 URL url = new URL(new URL(strURL), ref); in test_toExternalForm_Relative() local 792 URL url = new URL(strURL); in test_toExternalForm_Absolute() local
|
| D | OldURLClassLoaderTest.java | 190 public void addURL(URL url) { in addURL() 196 URL url) in definePackage() 278 String url; in getURLClassLoader() local
|
| D | URLConnectionTest.java | 439 URL url = server.getUrl("/"); in testGetResponseCodeNoResponseBody() local 569 URL url = new URL("http://android.com/foo"); in testConnectViaProxy() local 620 URL url = server.getUrl("/foo"); in testConnectViaDirectProxyToHttps() local 662 URL url = new URL("https://android.com/foo"); in testConnectViaHttpProxyToHttps() local 698 URL url = new URL("https://android.com/foo"); in testConnectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache() local 739 URL url = new URL("https://android.com/foo"); in testProxyConnectIncludesProxyHeadersOnly() local 774 URL url = new URL("https://android.com/foo"); in testProxyAuthenticateOnConnect() local 891 URL url = server.getUrl("/"); in testUnauthorizedResponseHandling() local 1552 URL url = server.getUrl("/"); in testHttpsWithCustomTrustManager() local 1872 private URI backdoorUrlToUri(URL url) throws Exception { in backdoorUrlToUri() [all …]
|
| /libcore/support/src/test/java/tests/support/ |
| D | Support_ClassLoader.java | 31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); in getClassLoader() 33 public static ClassLoader getInstance(URL url, ClassLoader parent) { in getInstance() 68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader() 80 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader()
|
| D | Support_GetLocal.java | 37 public static File getLocalFile(String url) throws IOException, in getLocalFile() 58 public static File getExternalLocalFile(String url) throws IOException, in getExternalLocalFile() 78 static ByteArrayInputStream getStream(String url) throws IOException, in getStream()
|
| /libcore/luni/src/main/java/java/sql/ |
| D | Driver.java | 52 public boolean acceptsURL(String url) throws SQLException; in acceptsURL() 70 public Connection connect(String url, Properties info) throws SQLException; in connect() 109 public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) in getPropertyInfo()
|
| D | DriverManager.java | 139 public static Connection getConnection(String url) throws SQLException { in getConnection() 161 public static Connection getConnection(String url, Properties info) throws SQLException { in getConnection() 200 public static Connection getConnection(String url, String user, String password) in getConnection() 222 public static Driver getDriver(String url) throws SQLException { in getDriver()
|
| /libcore/luni/src/main/java/libcore/net/url/ |
| D | FileHandler.java | 42 public URLConnection openConnection(URL url) throws IOException { in openConnection() 64 public URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() 97 protected void parseURL(URL url, String spec, int start, int end) { in parseURL()
|
| D | JarHandler.java | 57 protected void parseURL(URL url, String spec, int start, int limit) { in parseURL() 97 protected String toExternalForm(URL url) { in toExternalForm()
|
| D | FtpHandler.java | 55 protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection()
|
| /libcore/luni/src/main/java/libcore/net/http/ |
| D | HttpsHandler.java | 28 @Override protected URLConnection openConnection(URL url) throws IOException { in openConnection() 32 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection()
|
| D | HttpHandler.java | 32 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection()
|
| /libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
| D | Handler.java | 30 @Override protected URLConnection openConnection(URL url) throws IOException { in openConnection() 35 protected HandlerURLConnection(URL url) { in HandlerURLConnection()
|
| /libcore/luni/src/test/java/libcore/net/http/ |
| D | HttpResponseCacheTest.java | 142 URL url = server.getUrl("/"); in testOriginServerSends407() local 172 URL url = server.getUrl("/"); in assertCached() local 238 URL url = server.getUrl("/"); in testResponseCacheCallbackApis() local 444 URL url = server.getUrl("/"); in testResponseCacheRequestHeaders() local 542 URL url = server.getUrl("/"); in testDefaultExpirationDateFullyCachedForLessThan24Hours() local 588 URL url = server.getUrl("/?foo=bar"); in testNoDefaultExpirationForUrlsWithQueryString() local 719 URL url = server.getUrl("/"); in testRequestMethod() local 758 URL url = server.getUrl("/"); in testMethodInvalidates() local 845 URL url = server.getUrl("/"); in testPartialRangeResponsesDoNotCorruptCache() local 862 URL url = server.getUrl("/"); in testServerReturnsDocumentOlderThanCache() local [all …]
|
| /libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
| D | HttpsURLConnectionTest.java | 58 URL url = new URL("https://localhost:55555"); in test_getCipherSuite() local 74 URL url = new URL("https://localhost:55555"); in test_getLocalCertificates() local 126 URL url = new URL("https://localhost:55555"); in test_getLocalPrincipal() local 144 URL url = new URL("https://localhost:55555"); in test_getPeerPrincipal() local 167 URL url = new URL("https://localhost:55555"); in test_getServerCertificates() local 266 public MyHttpsURLConnection(URL url) { in MyHttpsURLConnection() 270 public MyHttpsURLConnection(URL url, String type) { in MyHttpsURLConnection()
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
| D | HttpsURLConnectionTest.java | 134 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsConnection() local 165 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsConnection_Not_Found_Response() local 204 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetDefaultSSLSocketFactory() local 242 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetSSLSocketFactory() local 277 URL url = new URL("https://localhost:55555"); in testUnconnectedStateParameters() local 320 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetHostnameVerifier() local 356 URL url = new URL("https://localhost:" + ss.getLocalPort()); in test_doOutput() local 385 URL url = new URL("https://requested.host:55556/requested.data"); in testProxyConnection() local 425 URL url = new URL("https://requested.host:55555/requested.data"); in testProxyAuthConnection() local 459 URL url = new URL("https://requested.host:55555/requested.data"); in testConsequentProxyConnection() local [all …]
|
| /libcore/luni/src/main/java/java/net/ |
| D | URLClassLoader.java | 71 static IndexFile readIndexFile(JarFile jf, JarEntry indexEntry, URL url) { in readIndexFile() 123 private static URL getParentURL(URL url) throws IOException { in getParentURL() 146 URL url; field in URLClassLoader.URLHandler 149 public URLHandler(URL url) { in URLHandler() 245 public URLJarHandler(URL url, URL jarURL, JarFile jf, String prefixName) { in URLJarHandler() 254 public URLJarHandler(URL url, URL jarURL, JarFile jf, String prefixName, IndexFile index) { in URLJarHandler() 403 private synchronized URLHandler getSubHandler(URL url) { in getSubHandler() 422 private URLHandler createURLSubJarHandler(URL url) { in createURLSubJarHandler() 456 public URLFileHandler(URL url) { in URLFileHandler() 564 protected void addURL(URL url) { in addURL() [all …]
|
| D | URLStreamHandler.java | 85 protected void parseURL(URL url, String spec, int start, int end) { in parseURL() 259 protected String toExternalForm(URL url) { in toExternalForm() 263 String toExternalForm(URL url, boolean escapeIllegalCharacters) { in toExternalForm() 321 protected InetAddress getHostAddress(URL url) { in getHostAddress() 336 protected int hashCode(URL url) { in hashCode()
|
| D | JarURLConnection.java | 65 protected JarURLConnection(URL url) throws MalformedURLException { in JarURLConnection()
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
| D | ContentHandlerFactoryTest.java | 38 URL url = new URL("http://" + in test_createContentHandler() local 78 URL url; in test_createContentHandler() local
|
| /libcore/luni/src/test/java/libcore/xml/ |
| D | JaxenXPathTestSuite.java | 90 String url = document.getAttribute("url"); in suite() local 103 private static void contextToTestSuite(TestSuite suite, String url, in contextToTestSuite()
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
| D | HttpURLConnectionTest.java | 193 URL url = new URL("http://localhost:" + server.port()); in testUsingProxy() local 233 URL url = new URL("http://localhost:" + server.port()); in testUsingProxySelector() local 283 URL url = new URL("http://remotehost:55555/requested.data"); in testProxyAuthorization() local
|