/libcore/luni/src/main/java/libcore/net/url/ |
H A D | FtpHandler.java | 18 package libcore.net.url; 41 * @param url 45 * @return a connection to the resource pointed by this url. 55 protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { argument 56 if (url == null || proxy == null) { 57 throw new IllegalArgumentException("url == null || proxy == null"); 59 return new FtpURLConnection(url, proxy);
|
H A D | FileHandler.java | 18 package libcore.net.url; 36 * @return A connection to the resource pointed by this url. 37 * @param url 42 public URLConnection openConnection(URL url) throws IOException { argument 43 return openConnection(url, null); 50 * @param url 54 * @return a connection to the resource pointed by this url. 59 * if the url argument is null. 64 public URLConnection openConnection(URL url, Proxy proxy) throws IOException { argument 65 if (url 97 parseURL(URL url, String spec, int start, int end) argument [all...] |
H A D | JarHandler.java | 18 package libcore.net.url; 32 * this url. 47 * @param url 57 protected void parseURL(URL url, String spec, int start, int limit) { argument 58 String file = url.getFile(); 81 // check that the embedded url is valid 86 setURL(url, "jar", "", -1, null, null, file, null, null); 90 * Build and return the externalized string representation of url. 92 * @return String the externalized string representation of url 93 * @param url 97 toExternalForm(URL url) argument [all...] |
H A D | FileURLConnection.java | 18 package libcore.net.url; 88 * @param url The URL this connection is connected to 90 public FileURLConnection(URL url) { argument 91 super(url); 92 filename = url.getFile(); 253 String result = guessContentTypeFromName(url.getFile());
|
H A D | JarURLConnectionImpl.java | 18 package libcore.net.url; 63 * @param url 70 public JarURLConnectionImpl(URL url) throws MalformedURLException, IOException { argument 71 super(url); 236 if (url.getFile().endsWith("!/")) {
|
H A D | FtpURLInputStream.java | 18 package libcore.net.url;
|
H A D | UrlUtils.java | 17 package libcore.net.url;
|
H A D | FtpURLConnection.java | 18 package libcore.net.url; 105 * @param url 107 protected FtpURLConnection(URL url) throws IOException { argument 108 super(url); 109 hostName = url.getHost(); 113 + url.getProtocol() + "://" + hostName 114 + ((url.getPort() >= 0) ? (":" + url.getPort()) : "")); 116 String parse = url.getUserInfo(); 128 uri = url 140 FtpURLConnection(URL url, Proxy proxy) argument [all...] |
/libcore/luni/src/test/java/libcore/net/url/ |
H A D | UrlUtilsTest.java | 17 package libcore.net.url;
|
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
H A D | Handler.java | 30 @Override protected URLConnection openConnection(URL url) throws IOException { argument 31 return new HandlerURLConnection(url); 35 protected HandlerURLConnection(URL url) { argument 36 super(url);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ClassLoader.java | 31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); argument 33 public static ClassLoader getInstance(URL url, ClassLoader parent) { argument 45 return factory.getClassLoader(url, parent); 68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument 69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(), 80 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument 81 return new URLClassLoader(new URL[] { url }, parent);
|
H A D | Support_GetLocal.java | 37 public static File getLocalFile(String url) throws IOException, argument 39 url = Support_Resources.RESOURCE_PACKAGE + url; 40 File temp = cache.get(url); 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); 53 cache.put(url, temp); 58 public static File getExternalLocalFile(String url) throws IOException, argument 60 File temp = cache.get(url); 62 InputStream in = new URL(url).openStream(); 73 cache.put(url, tem 78 getStream(String url) argument [all...] |
/libcore/luni/src/main/java/java/sql/ |
H A D | Driver.java | 39 * @param url 48 public boolean acceptsURL(String url) throws SQLException; argument 54 * @param url 66 public Connection connect(String url, Properties info) throws SQLException; argument 90 * @param url 105 public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) argument
|
/libcore/luni/src/main/java/java/net/ |
H A D | JarURLConnection.java | 33 * as follows: <i>jar:{archive-url}!/{entry}</i> where "!/" is called a 62 * @param url 67 protected JarURLConnection(URL url) throws MalformedURLException { argument 68 super(url); 69 file = decode(url.getFile()); 81 if (url.getRef() != null) { 82 entryName += "#" + url.getRef();
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | URLConnectionBenchmark.java | 41 private URL url; field in class:URLConnectionBenchmark 65 url = server.getUrl("/"); 83 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); 84 // URLConnection connection = url.openConnection();
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | BatikTestDocumentBuilderFactory.java | 126 * @param url url to load 130 public Document load(java.net.URL url) throws DOMTestLoadException { argument 132 java.io.InputStream stream = url.openStream(); 135 new Object[] {url.toString(), stream});
|
H A D | DOM4JTestDocumentBuilderFactory.java | 105 public Document load(java.net.URL url) throws DOMTestLoadException { argument 106 if (url == null) { 107 throw new NullPointerException("url"); 114 new Object[] {url});
|
H A D | DOMTestDocumentBuilderFactory.java | 64 public abstract Document load(java.net.URL url) throws DOMTestLoadException; argument
|
H A D | JTidyDocumentBuilderFactory.java | 87 public Document load(java.net.URL url) throws DOMTestLoadException { argument 90 java.io.InputStream stream = url.openStream();
|
H A D | JAXPDOMTestDocumentBuilderFactory.java | 118 public Document load(java.net.URL url) throws DOMTestLoadException { argument 124 InputStream stream = url.openStream(); 125 doc = builder.parse(stream, url.toString());
|
H A D | LSDocumentBuilderFactory.java | 327 * @param url url to load 331 public Document load(java.net.URL url) throws DOMTestLoadException { argument 334 new Object[] {url.toString()});
|
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | HttpsURLConnection.java | 54 * URL url = new URL("https://www.example.com/"); 55 * HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); 88 * URL url = new URL("https://www.example.com/"); 89 * HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); 188 * @param url 191 protected HttpsURLConnection(URL url) { argument 192 super(url);
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldURLClassLoaderTest.java | 174 public void addURL(URL url) { argument 175 super.addURL(url); 180 URL url) 182 return super.definePackage(name, man, url); 258 String url; 261 url = "file:" + path; 263 url = path; 265 url = "jar:file:" + path + "!/"; 267 urlList.add(new URL(url)); 178 definePackage(String name, Manifest man, URL url) argument
|
/libcore/luni/src/test/java/tests/support/ |
H A D | Support_SQL.java | 80 throw new SQLException("Failed to connect. url=" + Support_SQL.sqlUrl + ", sqlLogin=" 85 public static Connection getConnection(String url, String login, argument 88 return DriverManager.getConnection(url, login, password);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | HttpsURLConnectionTest.java | 58 URL url = new URL("https://localhost:55555"); 59 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 74 URL url = new URL("https://localhost:55555"); 75 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 126 URL url = new URL("https://localhost:55555"); 127 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 144 URL url = new URL("https://localhost:55555"); 145 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 167 URL url = new URL("https://localhost:55555"); 168 HttpsURLConnection connection = (HttpsURLConnection) url 266 MyHttpsURLConnection(URL url) argument 270 MyHttpsURLConnection(URL url, String type) argument [all...] |