Home
last modified time | relevance | path

Searched refs:URLConnection (Results 1 – 25 of 53) sorted by relevance

123

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java49 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 …]
DContentHandlerTest.java23 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/
DHandler.java21 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/
DURLStreamHandlerFactoryTest.java21 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()
DOldFileNameMapTest.java22 import java.net.URLConnection;
26 FileNameMap map = URLConnection.getFileNameMap(); in test_getContentTypeFor()
DOldCookieHandlerTest.java26 import java.net.URLConnection;
69 URLConnection connection = server.getUrl("/path/foo").openConnection(); in test_get_put()
DOldURLTest.java34 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()
DOldURLStreamHandlerTest.java25 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/
DHandler.java29 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()
DFileURLConnection.java48 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/
DHandler.java22 import java.net.URLConnection;
26 protected URLConnection openConnection(URL u) throws IOException { in openConnection()
/libcore/ojluni/src/main/java/sun/net/www/protocol/netdoc/
DHandler.java38 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/
DContentHandler.java81 abstract public Object getContent(URLConnection urlc) throws IOException; in getContent()
99 public Object getContent(URLConnection urlc, Class[] classes) throws IOException { in getContent()
DJarURLConnection.java141 public abstract class JarURLConnection extends URLConnection {
150 protected URLConnection jarFileURLConnection;
DResponseCache.java162 public abstract CacheRequest put(URI uri, URLConnection conn) throws IOException; in put()
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/
DHandler.java49 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/
DHandler.java55 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/
DHandler.java54 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/
DHandler.java33 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/
DResponseCacheTest.java25 import java.net.URLConnection;
65 public CacheRequest put(URI arg0, URLConnection arg1) in put()
/libcore/luni/src/test/java/libcore/io/
DClassPathURLStreamHandlerTest.java27 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/
DJarFileFactory.java31 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/
DURLConnection.java42 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/
DFileURLConnectionTest.java26 import java.net.URLConnection;
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java27 import java.net.URLConnection;
83 protected URLConnection openConnection(URL url) throws IOException { in openConnection()

123