Searched refs:URLConnection (Results 1 - 25 of 52) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
H A DHandler.java21 import java.net.URLConnection;
30 @Override protected URLConnection openConnection(URL url) throws IOException {
34 public static class HandlerURLConnection extends URLConnection {
/libcore/luni/src/test/java/libcore/java/net/
H A DOldFileNameMapTest.java22 import java.net.URLConnection;
26 FileNameMap map = URLConnection.getFileNameMap();
H A DURLStreamHandlerFactoryTest.java21 import java.net.URLConnection;
58 URLConnection connection = url.openConnection();
81 URLConnection connection = new URL("http://android.com/").openConnection();
94 URLConnection connection1 = new URL("http://android.com/").openConnection();
100 URLConnection connection2 = new URL("http://android.com/").openConnection();
H A DOldCookieHandlerTest.java26 import java.net.URLConnection;
56 URLConnection connection = server.getUrl("/path/foo").openConnection();
H A DOldURLTest.java34 import java.net.URLConnection;
339 URLConnection conn = u.openConnection();
553 protected URLConnection openConnection(URL u)
606 protected URLConnection openConnection(URL arg0) throws IOException {
608 URLConnection con = arg0.openConnection();
637 public URLConnection openConnection(URL arg0) throws IOException {
639 URLConnection con = arg0.openConnection();
648 public URLConnection openConnection(URL arg0, Proxy proxy)
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/
H A DHandler.java22 import java.net.URLConnection;
26 protected URLConnection openConnection(URL u) throws IOException {
/libcore/ojluni/src/main/java/java/net/
H A DContentHandler.java33 * <code>URLConnection</code>.
38 * <code>URL</code> or in <code>URLConnection</code>.
47 * If no content handler could be found, URLConnection will
63 * @see java.net.ContentHandler#getContent(java.net.URLConnection)
66 * @see java.net.URLConnection
67 * @see java.net.URLConnection#getContent()
68 * @see java.net.URLConnection#setContentHandlerFactory(java.net.ContentHandlerFactory)
81 abstract public Object getContent(URLConnection urlc) throws IOException;
99 public Object getContent(URLConnection urlc, Class[] classes) throws IOException {
H A DResponseCache.java34 * Represents implementations of URLConnection caches. An instance of
51 * The settings for URLConnection#useCaches controls whether the
133 * @see java.net.URLConnection#setUseCaches(boolean)
134 * @see java.net.URLConnection#getUseCaches()
135 * @see java.net.URLConnection#setDefaultUseCaches(boolean)
136 * @see java.net.URLConnection#getDefaultUseCaches()
153 * @param conn - a URLConnection instance that is used to fetch
162 public abstract CacheRequest put(URI uri, URLConnection conn) throws IOException;
H A DJarURLConnection.java61 * <p>Users should cast the generic URLConnection to a
131 * @see java.net.URLConnection
141 public abstract class JarURLConnection extends URLConnection {
150 protected URLConnection jarFileURLConnection;
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
H A DHandler.java54 protected java.net.URLConnection openConnection(URL u)
59 protected java.net.URLConnection openConnection(URL u, Proxy p)
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DHandler.java55 protected java.net.URLConnection openConnection(URL u)
60 protected java.net.URLConnection openConnection(URL u, Proxy p)
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/
H A DHandler.java55 protected java.net.URLConnection openConnection(URL u)
60 protected java.net.URLConnection openConnection(URL u, Proxy p)
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/
H A DFileURLConnectionTest.java26 import java.net.URLConnection;
125 URLConnection urlConnection = url.openConnection();
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DContentHandlerTest.java23 import java.net.URLConnection;
30 * java.net.ContentHandler#getContent(java.net.URLConnection,
34 URLConnection conn = new URL("http://www.apache.org").openConnection();
57 public Object getContent(URLConnection uConn) throws IOException {
H A DURLConnectionTest.java49 import java.net.URLConnection;
66 private URLConnection fileURLCon;
72 private URLConnection gifURLCon;
75 * {@link java.net.URLConnection#addRequestProperty(String, String)}
105 * {@link java.net.URLConnection#setRequestProperty(String, String)}
138 * {@link java.net.URLConnection#setUseCaches(boolean)}
155 * {@link java.net.URLConnection#setAllowUserInteraction(boolean)}
172 static class MockURLConnection extends URLConnection {
185 protected URLConnection openConnection(URL u) throws IOException {
213 URLConnection u
[all...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/netdoc/
H A DHandler.java38 import java.net.URLConnection;
51 public synchronized URLConnection openConnection(URL u)
54 URLConnection uc = null;
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
H A DHandler.java29 import java.net.URLConnection;
70 public synchronized URLConnection openConnection(URL u)
75 public synchronized URLConnection openConnection(URL u, Proxy p)
87 URLConnection uc;
110 protected URLConnection createFileURLConnection(URL u, File file)
H A DFileURLConnection.java48 public class FileURLConnection extends URLConnection {
74 * results of the various URLConnection calls, such as
119 FileNameMap map = java.net.URLConnection.getFileNameMap();
192 FileNameMap map = java.net.URLConnection.getFileNameMap();
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/
H A DHandler.java49 public java.net.URLConnection openConnection(URL u)
54 public java.net.URLConnection openConnection(URL u, Proxy p)
76 class GopherURLConnection extends sun.net.www.URLConnection {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DResponseCacheTest.java25 import java.net.URLConnection;
65 public CacheRequest put(URI arg0, URLConnection arg1)
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/
H A DHandler.java33 import java.net.URLConnection;
102 public synchronized URLConnection openConnection(URL u) {
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DJarFileFactory.java31 import java.net.URLConnection;
59 URLConnection getConnection(JarFile jarFile) throws IOException {
154 URLConnection uc = getConnection(jarFile);
/libcore/luni/src/test/java/libcore/io/
H A DClassPathURLStreamHandlerTest.java27 import java.net.URLConnection;
171 URLConnection standardUrlConnection = standardUrl.openConnection();
175 URLConnection actualUrlConnection = actualUrl.openConnection();
180 private static void assertBehaviorSame(URLConnection standardURLConnection,
181 URLConnection actualUrlConnection) throws IOException {
/libcore/ojluni/src/main/java/sun/net/www/
H A DURLConnection.java42 abstract public class URLConnection extends java.net.URLConnection { class in inherits:java.net.URLConnection
51 /** Create a URLConnection object. These should not be created directly:
56 public URLConnection (URL u) { method in class:URLConnection
/libcore/luni/src/main/java/libcore/io/
H A DClassPathURLStreamHandler.java27 import java.net.URLConnection;
38 * {@link URLConnection} objects created are a subclass of {@link JarURLConnection}.
83 protected URLConnection openConnection(URL url) throws IOException {
166 // If the jar file is not cached closing the input stream will close the URLConnection and

Completed in 767 milliseconds

123