/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
H A D | Handler.java | 30 @Override protected URLConnection openConnection(URL url) throws IOException { method in class:Handler
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/ |
H A D | Handler.java | 26 protected URLConnection openConnection(URL u) throws IOException { method in class:Handler
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
H A D | Handler.java | 50 protected java.net.URLConnection openConnection(URL u) method in class:Handler 52 return openConnection(u, null); 55 protected java.net.URLConnection openConnection(URL u, Proxy p) method in class:Handler
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
H A D | Handler.java | 70 public synchronized URLConnection openConnection(URL u) method in class:Handler 72 return openConnection(u, null); 75 public synchronized URLConnection openConnection(URL u, Proxy p) method in class:Handler 94 uc = ru.openConnection(p); 96 uc = ru.openConnection();
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | ClassPathURLStreamHandler.java | 83 protected URLConnection openConnection(URL url) throws IOException { method in class:ClassPathURLStreamHandler 114 // Developers could call ClassLoader.findResource().openConnection() to get a URLConnection and
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | Handler.java | 39 protected java.net.URLConnection openConnection(URL u) method in class:Handler
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | URLStreamHandler.java | 69 abstract protected URLConnection openConnection(URL u) throws IOException; method in class:URLStreamHandler 72 * Same as openConnection(URL), except that the connection will be 93 protected URLConnection openConnection(URL u, Proxy p) throws IOException { method in class:URLStreamHandler
|
H A D | URL.java | 983 * {@linkplain java.net.URLStreamHandler#openConnection(URL) 984 * URLStreamHandler.openConnection(URL)} method of the protocol handler for 1005 public URLConnection openConnection() throws java.io.IOException { method in class:URL 1006 return handler.openConnection(this); 1010 * Same as {@link #openConnection()}, except that the connection will be 1034 * @see java.net.URLStreamHandler#openConnection(java.net.URL, 1038 public URLConnection openConnection(Proxy proxy) method in class:URL 1055 return handler.openConnection(this, p); 1063 * openConnection().getInputStream() 1068 * @see java.net.URL#openConnection() [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldURLStreamHandlerTest.java | 91 assertNull(handler.openConnection(null)); 96 handler.openConnection(null, null); 176 @Override protected URLConnection openConnection(URL arg0) throws IOException { method in class:OldURLStreamHandlerTest.MockURLStreamHandler 200 @Override public URLConnection openConnection(URL u, Proxy p) throws IOException { method in class:OldURLStreamHandlerTest.MockURLStreamHandler 201 return super.openConnection(u, p);
|
H A D | OldURLTest.java | 328 u.openConnection(); 339 URLConnection conn = u.openConnection(); 553 protected URLConnection openConnection(URL u) method in class:OldURLTest.MyHandler 606 protected URLConnection openConnection(URL arg0) throws IOException { method in class:OldURLTest.MyURLStreamHandler 608 URLConnection con = arg0.openConnection(); 637 public URLConnection openConnection(URL arg0) throws IOException { method in class:OldURLTest.TestURLStreamHandler 639 URLConnection con = arg0.openConnection(); 648 public URLConnection openConnection(URL arg0, Proxy proxy) method in class:OldURLTest.TestURLStreamHandler 650 return super.openConnection(u, proxy); 720 u.openConnection(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | URLTest.java | 39 protected URLConnection openConnection(URL u) method in class:URLTest.MyHandler 744 u.openConnection(); 773 u.openConnection(); 785 * java.net.URL#openConnection() 788 // Test for method java.net.URLConnection java.net.URL.openConnection() 791 URLConnection uConn = u.openConnection(); 792 assertNotNull("u.openConnection() returns null", uConn); 967 * java.net.URL#openConnection() 973 URLConnection conn = new URL(fileUrlString).openConnection(); 978 conn = new URL(nonLocalUrlString).openConnection(); 987 public URLConnection openConnection(URL arg0) throws IOException { method in class:URLTest.TestURLStreamHandler 995 public URLConnection openConnection(URL arg0, Proxy proxy) method in class:URLTest.TestURLStreamHandler 1087 protected URLConnection openConnection(URL arg0) throws IOException { method in class:URLTest.MyHandler2 1125 protected URLConnection openConnection(URL arg0) throws IOException { method in class:URLTest.MyURLStreamHandler [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | URLConnectionTest.java | 181 protected URLConnection openConnection(URL u) throws IOException { method in class:URLConnectionTest.NewHandler 224 uc = url.openConnection(); 226 uc2 = url2.openConnection(); 228 uc3 = url3.openConnection(); 231 fileURLCon = fileURL.openConnection(); 290 new URL("http://localhost:" + port + path).openConnection(); 368 URLConnection fakeCon = url.openConnection(); 859 URLConnection urlCon = url.openConnection(); 876 URLConnection urlCon = url.openConnection(); 1016 URLConnection uc = new URL("http://localhost").openConnection(); [all...] |