Searched defs:openConnection (Results 1 - 17 of 17) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
H A DHandler.java30 @Override protected URLConnection openConnection(URL url) throws IOException { method in class:Handler
/libcore/ojluni/src/main/java/sun/net/www/protocol/netdoc/
H A DHandler.java51 public synchronized URLConnection openConnection(URL u) method in class:Handler
75 uc = ru.openConnection();
83 uc = ru.openConnection();
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/
H A DHandler.java26 protected URLConnection openConnection(URL u) throws IOException { method in class:Handler
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
H A DHandler.java54 protected java.net.URLConnection openConnection(URL u) method in class:Handler
56 return openConnection(u, null);
59 protected java.net.URLConnection openConnection(URL u, Proxy p) method in class:Handler
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/
H A DHandler.java49 public java.net.URLConnection openConnection(URL u) method in class:Handler
51 return openConnection(u, null);
54 public java.net.URLConnection openConnection(URL u, Proxy p) method in class:Handler
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DHandler.java55 protected java.net.URLConnection openConnection(URL u) method in class:Handler
57 return openConnection(u, (Proxy)null);
60 protected java.net.URLConnection openConnection(URL u, Proxy p) method in class:Handler
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/
H A DHandler.java55 protected java.net.URLConnection openConnection(URL u) method in class:Handler
57 return openConnection(u, (Proxy)null);
60 protected java.net.URLConnection openConnection(URL u, Proxy p) method in class:Handler
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/
H A DHandler.java102 public synchronized URLConnection openConnection(URL u) { method in class:Handler
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
H A DHandler.java70 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 DClassPathURLStreamHandler.java83 protected URLConnection openConnection(URL url) throws IOException { method in class:ClassPathURLStreamHandler
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DHandler.java39 protected java.net.URLConnection openConnection(URL u) method in class:Handler
/libcore/ojluni/src/main/java/java/net/
H A DURLStreamHandler.java70 abstract protected URLConnection openConnection(URL u) throws IOException; method in class:URLStreamHandler
73 * Same as openConnection(URL), except that the connection will be
94 protected URLConnection openConnection(URL u, Proxy p) throws IOException { method in class:URLStreamHandler
H A DURL.java968 * {@linkplain java.net.URLStreamHandler#openConnection(URL)
969 * URLStreamHandler.openConnection(URL)} method of the protocol handler for
990 public URLConnection openConnection() throws java.io.IOException { method in class:URL
991 return handler.openConnection(this);
995 * Same as {@link #openConnection()}, except that the connection will be
1019 * @see java.net.URLStreamHandler#openConnection(java.net.URL,
1023 public URLConnection openConnection(Proxy proxy) method in class:URL
1040 return handler.openConnection(this, p);
1048 * openConnection().getInputStream()
1053 * @see java.net.URL#openConnection()
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLStreamHandlerTest.java91 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 DOldURLTest.java328 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 DURLTest.java39 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 DURLConnectionTest.java185 protected URLConnection openConnection(URL u) throws IOException { method in class:URLConnectionTest.NewHandler
228 uc = url.openConnection();
230 uc2 = url2.openConnection();
232 uc3 = url3.openConnection();
235 fileURLCon = fileURL.openConnection();
295 new URL("http://localhost:" + port + path).openConnection();
373 URLConnection fakeCon = url.openConnection();
848 URLConnection urlCon = url.openConnection();
865 URLConnection urlCon = url.openConnection();
1005 URLConnection uc = new URL("http://localhost").openConnection();
[all...]

Completed in 484 milliseconds