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

/libcore/luni/src/main/java/libcore/net/url/
H A DFtpHandler.java31 protected URLConnection openConnection(URL u) throws IOException { method in class:FtpHandler
55 protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { method in class:FtpHandler
H A DFileHandler.java42 public URLConnection openConnection(URL url) throws IOException { method in class:FileHandler
43 return openConnection(url, null);
47 * The behavior of this method is the same as openConnection(URL).
64 public URLConnection openConnection(URL url, Proxy proxy) throws IOException { method in class:FileHandler
76 return (proxy == null) ? ftpURL.openConnection() : ftpURL.openConnection(proxy);
H A DJarHandler.java41 protected URLConnection openConnection(URL u) throws IOException { method in class:JarHandler
/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/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/luni/src/main/java/java/net/
H A DURLStreamHandler.java41 protected abstract URLConnection openConnection(URL u) throws IOException; method in class:URLStreamHandler
61 protected URLConnection openConnection(URL u, Proxy proxy) throws IOException { method in class:URLStreamHandler
H A DURL.java455 return openConnection().getContent();
459 * Equivalent to {@code openConnection().getContent(types)}.
463 return openConnection().getContent(types);
467 * Equivalent to {@code openConnection().getInputStream(types)}.
470 return openConnection().getInputStream();
478 public URLConnection openConnection() throws IOException { method in class:URL
479 return streamHandler.openConnection(this);
492 public URLConnection openConnection(Proxy proxy) throws IOException { method in class:URL
496 return streamHandler.openConnection(this, proxy);
/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/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java186 protected URLConnection openConnection(URL u) throws IOException { method in class:URLConnectionTest.NewHandler
225 uc = url.openConnection();
227 uc2 = url2.openConnection();
230 fileURLCon = fileURL.openConnection();
289 new URL("http://localhost:" + port + path).openConnection();
367 URLConnection fakeCon = url.openConnection();
453 URLConnection con = url.openConnection();
833 URLConnection uc4 = url4.openConnection();
899 URLConnection urlCon = url.openConnection();
916 URLConnection urlCon = url.openConnection();
[all...]

Completed in 183 milliseconds