/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 49 import java.net.URLConnection; 66 private URLConnection fileURLCon; 72 private URLConnection gifURLCon; 172 static class MockURLConnection extends URLConnection { 185 protected URLConnection openConnection(URL u) throws IOException { in openConnection() 213 URLConnection uc; 215 URLConnection uc2; 217 URLConnection uc3; 373 URLConnection fakeCon = url.openConnection(); 460 URLConnection htmlFileCon = openHTMLFile(); [all …]
|
D | ContentHandlerTest.java | 23 import java.net.URLConnection; 34 URLConnection conn = new URL("http://www.apache.org").openConnection(); in test_getContent() 57 public Object getContent(URLConnection uConn) throws IOException { in getContent()
|
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
D | Handler.java | 21 import java.net.URLConnection; 30 @Override protected URLConnection openConnection(URL url) throws IOException { in openConnection() 34 public static class HandlerURLConnection extends URLConnection {
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLStreamHandlerFactoryTest.java | 21 import java.net.URLConnection; 58 URLConnection connection = url.openConnection(); in testCreateURLStreamHandler() 81 URLConnection connection = new URL("http://android.com/").openConnection(); in testInstallCustomProtocolHandler() 94 URLConnection connection1 = new URL("http://android.com/").openConnection(); in testFirstUseIsCached() 100 URLConnection connection2 = new URL("http://android.com/").openConnection(); in testFirstUseIsCached()
|
D | OldFileNameMapTest.java | 22 import java.net.URLConnection; 26 FileNameMap map = URLConnection.getFileNameMap(); in test_getContentTypeFor()
|
D | OldCookieHandlerTest.java | 26 import java.net.URLConnection; 69 URLConnection connection = server.getUrl("/path/foo").openConnection(); in test_get_put()
|
D | OldURLTest.java | 34 import java.net.URLConnection; 339 URLConnection conn = u.openConnection(); in testOpenConnection() 553 protected URLConnection openConnection(URL u) in openConnection() 606 protected URLConnection openConnection(URL arg0) throws IOException { in openConnection() 608 URLConnection con = arg0.openConnection(); in openConnection() 637 public URLConnection openConnection(URL arg0) throws IOException { in openConnection() 639 URLConnection con = arg0.openConnection(); in openConnection() 648 public URLConnection openConnection(URL arg0, Proxy proxy) in openConnection()
|
D | OldURLStreamHandlerTest.java | 25 import java.net.URLConnection; 176 @Override protected URLConnection openConnection(URL arg0) throws IOException { in openConnection() 200 @Override public URLConnection openConnection(URL u, Proxy p) throws IOException { in openConnection()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | Handler.java | 29 import java.net.URLConnection; 70 public synchronized URLConnection openConnection(URL u) in openConnection() 75 public synchronized URLConnection openConnection(URL u, Proxy p) in openConnection() 87 URLConnection uc; in openConnection() 110 protected URLConnection createFileURLConnection(URL u, File file) in createFileURLConnection()
|
D | FileURLConnection.java | 48 public class FileURLConnection extends URLConnection { 119 FileNameMap map = java.net.URLConnection.getFileNameMap(); in initializeHeaders() 192 FileNameMap map = java.net.URLConnection.getFileNameMap(); in getInputStream()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/ |
D | Handler.java | 22 import java.net.URLConnection; 26 protected URLConnection openConnection(URL u) throws IOException { in openConnection()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/netdoc/ |
D | Handler.java | 38 import java.net.URLConnection; 51 public synchronized URLConnection openConnection(URL u) in openConnection() 54 URLConnection uc = null; in openConnection()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ContentHandler.java | 81 abstract public Object getContent(URLConnection urlc) throws IOException; in getContent() 99 public Object getContent(URLConnection urlc, Class[] classes) throws IOException { in getContent()
|
D | JarURLConnection.java | 141 public abstract class JarURLConnection extends URLConnection { 150 protected URLConnection jarFileURLConnection;
|
D | ResponseCache.java | 162 public abstract CacheRequest put(URI uri, URLConnection conn) throws IOException; in put()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/ |
D | Handler.java | 49 public java.net.URLConnection openConnection(URL u) in openConnection() 54 public java.net.URLConnection openConnection(URL u, Proxy p) in openConnection() 76 class GopherURLConnection extends sun.net.www.URLConnection {
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | Handler.java | 55 protected java.net.URLConnection openConnection(URL u) in openConnection() 60 protected java.net.URLConnection openConnection(URL u, Proxy p) in openConnection()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | Handler.java | 54 protected java.net.URLConnection openConnection(URL u) in openConnection() 59 protected java.net.URLConnection openConnection(URL u, Proxy p) in openConnection()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/ |
D | Handler.java | 33 import java.net.URLConnection; 102 public synchronized URLConnection openConnection(URL u) { in openConnection()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ResponseCacheTest.java | 25 import java.net.URLConnection; 65 public CacheRequest put(URI arg0, URLConnection arg1) in put()
|
/libcore/luni/src/test/java/libcore/io/ |
D | ClassPathURLStreamHandlerTest.java | 27 import java.net.URLConnection; 171 URLConnection standardUrlConnection = standardUrl.openConnection(); in assertOpenConnectionOk() 175 URLConnection actualUrlConnection = actualUrl.openConnection(); in assertOpenConnectionOk() 180 private static void assertBehaviorSame(URLConnection standardURLConnection, in assertBehaviorSame() 181 URLConnection actualUrlConnection) throws IOException { in assertBehaviorSame()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | JarFileFactory.java | 31 import java.net.URLConnection; 59 URLConnection getConnection(JarFile jarFile) throws IOException { in getConnection() 154 URLConnection uc = getConnection(jarFile); in getPermission()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | URLConnection.java | 42 abstract public class URLConnection extends java.net.URLConnection { class 56 public URLConnection (URL u) { in URLConnection() method in URLConnection
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
D | FileURLConnectionTest.java | 26 import java.net.URLConnection;
|
/libcore/luni/src/main/java/libcore/io/ |
D | ClassPathURLStreamHandler.java | 27 import java.net.URLConnection; 83 protected URLConnection openConnection(URL url) throws IOException { in openConnection()
|