/libcore/ojluni/src/main/java/sun/net/ |
ProgressMeteringPolicy.java | 27 import java.net.URL; 39 public boolean shouldMeterInput(URL url, String method);
|
/libcore/luni/src/test/java/libcore/java/net/ |
URLTest.java | 24 import java.net.URL; 33 URL url = new URL("http://username:password@host:8080/directory/file?query#ref"); local 34 assertEquals("http", url.getProtocol()); 35 assertEquals("username:password@host:8080", url.getAuthority()); 36 assertEquals("username:password", url.getUserInfo()); 37 assertEquals("host", url.getHost()); 38 assertEquals(8080, url.getPort()); 39 assertEquals(80, url.getDefaultPort()) 47 URL url = new URL("http:\/\/www.google.com:80\/example?language[id]=2"); local 109 URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 125 final URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 142 URL url = new URL("http:\/\/\/path"); local 149 URL url = new URL("http:\/path"); local 163 URL url = new URL("http:\/\/host"); local 170 URL url = new URL("http:\/\/"); local 184 URL url = new URL("http:"); local 206 URL url = new URL("http:\/\/user@host"); local 213 URL url = new URL("http:\/\/user@host:8080"); local 221 URL url = new URL("http:\/\/user:password@host:8080"); local 229 URL url = new URL("http:\/\/user:password@:8080"); local 237 URL url = new URL("http:\/\/user:password@"); local 245 URL url = new URL("http:\/\/host\/path"); local 251 URL url = new URL("http:\/\/host?query"); local 258 URL url = new URL("http:\/\/host#fragment"); local 265 URL url = new URL("http:\/\/host\/file@foo"); local 272 URL url = new URL("http:\/\/host\/file:colon"); local 278 URL url = new URL("http:\/\/host\/file?query\/path"); local 285 URL url = new URL("http:\/\/host\/file?query?another"); local 292 URL url = new URL("http:\/\/host\/file?query@at"); local 299 URL url = new URL("http:\/\/host\/file?query:colon"); local 306 URL url = new URL("http:\/\/host\/file#fragment?query"); local 314 URL url = new URL("http:\/\/host\/file#fragment:80"); local 322 URL url = new URL("http:\/\/host\/file#fragment\/path"); local 329 URL url = new URL("http", "host", "\/file#fragment\/path"); local 336 URL url = new URL("http:\/\/host\/file#fragment#another"); local 343 URL url = new URL("http:\/\/host:\/"); local 389 URL url = new URL(base, "another"); local 399 URL url = new URL(base, "#another"); local 408 URL url = new URL("http:\/\/host\/a\/b\/..\/c"); local 531 URL url = new URL("http:\/\/user:[::1]@host"); local 537 URL url = new URL("http", "host", "a"); local 546 URL url = new URL("http", null, "a"); local 555 URL url = new URL("file:\/\/\/\/foo"); local 562 URL url = new URL("file:\/\/x\/foo"); local 574 URL url = new URL("http:\/\/\/foo"); local 581 URL url = new URL("http:\/\/\/\/foo"); local 593 URL url = new URL("file:..\/a\/b"); local 599 URL url = new URL("http:\/\/.\/"); local 610 URL url = new URL("http", "[192.168.0.1]", "\/"); local 620 URL url = new URL("http", "[www.android.com]", "\/"); local 630 URL url = new URL("http", "fe80::1234", "\/"); local 635 URL url = new URL("http:\/\/[::1]:2\/"); local 645 URL url = new URL("http", "host", 80, "\/doc|search?q=green robots#over 6\\""); local 655 URL url = new URL("HTTP:\/\/host\/path"); local 660 URL url = new URL("http:\/\/\/path"); local 666 URL url = new URL("http:\/\/?query"); local 673 URL url = new URL("http:\/\/#fragment"); local 711 URL url = new URL("http:\/\/a_b.c.d.net\/"); local 744 URL url = new URL("http:\/\/www.google.com\/"); local [all...] |
OldURLStreamHandlerTest.java | 24 import java.net.URL; 35 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); 36 URL url2 = new URL("http://test_url/test?a=b&c=%D0+%D1"); 39 new URL("http://test_url+/test?a=b&c=%D0+%D1"); 55 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); 58 URL url2 = new URL("http://test:pwd@fakehostname.fakedomain/test?a=b&c=%D0+%D1") 108 URL url = new URL("http:\/\/test.org"); local 134 URL url = new URL("http:\/\/test.org"); local 144 URL url = new URL("http:\/\/test.org"); local [all...] |
OldURLTest.java | 33 import java.net.URL; 58 new URL("http", "apache.org", 123456789, "file"); 60 new URL("http", "apache.org", -123, "file"); 69 URL testURL = new URL("http", "www.apache.org:8082", "test.html#anch"); 77 new URL("hftp", "apache.org:8082", "test.html#anch"); 90 new URL("test_protocol", "", "fake.jar"); 97 URL testURL1 = new URL("http", "www.apache.org:8080", "test.html#anch"); 98 URL testURL2 = new URL("http", "www.apache.org:8080", "test.html#anch") 245 URL url = new URL("http:\/\/web2.javasoft.com\/some+file.html"); local 483 URL url = new URL("http:\/\/www.example.com"); local 494 URL url = new URL("ftp:\/\/myUser:password@host.dom\/etc\/motd"); local 504 URL url = new URL("http:\/\/www.java2s.com:8080"); local 786 URL url = new URL(new URL(strURL), ref); local 792 URL url = new URL(strURL); local [all...] |
OldURLClassLoaderTest.java | 25 import java.net.URL; 42 * java.net.URLClassLoader#URLClassLoader(java.net.URL[]) 45 URL[] u = new URL[0]; 51 URL [] urls = {new URL("http://foo.com/foo"), 52 new URL("jar:file://foo.jar!/foo.c"), 53 new URL("ftp://foo1/foo2/foo.c")}; 66 new URLClassLoader(new URL[] { null }); 98 URL[] urls = new URL[2] 258 String url; local [all...] |
/external/jcommander/src/main/java/com/beust/jcommander/converters/ |
URLConverter.java | 24 import java.net.URL; 31 public class URLConverter extends BaseConverter<URL> { 37 public URL convert(String value) { 39 return new URL(value); 42 getErrorString(value, "a RFC 2396 and RFC 2732 compliant URL"));
|
/external/curl/tests/libtest/ |
lib1508.c | 28 int test(char *URL) 33 (void)URL;
|
lib517.c | 122 int test(char *URL) 126 (void)URL; /* not used */
|
lib501.c | 26 int test(char *URL) 31 (void)URL; /* we don't use this */
|
/external/javassist/src/main/javassist/ |
ClassPath.java | 19 import java.net.URL; 53 * Returns the uniform resource locator (URL) of the class file 59 URL find(String classname);
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpClientPool.java | 19 import java.net.URL; 33 /** Get the appropriate HttpClient for sending a request to the given URL. */ 34 public org.apache.http.client.HttpClient getHttpClient(URL server);
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/ |
URLFilter.java | 18 import java.net.URL; 21 * Request filter based on the request's URL. 27 * Check whether request to the provided URL is permitted to be issued. 29 * @throws IOException if the request to the provided URL is not permitted. 31 void checkURLPermitted(URL url) throws IOException;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
URLTest.java | 30 import java.net.URL; 39 protected URLConnection openConnection(URL u) 45 URL u; 47 URL u1; 49 URL u2; 51 URL u3; 53 URL u4; 55 URL u5; 57 URL u6; 64 * java.net.URL#URL(java.lang.String 868 URL url = new URL("http", ipv6Host, -1, "myfile"); local 1066 URL url = new URL(strURL); local 1077 URL url = new URL(new URL(strURL), ref); local 1103 URL url = new URL(null, "foobar:\/\/example.com\/foobar", myHandler); local [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
UserInputListener.java | 5 import java.net.URL; 10 * URL. Under normal circumstances this implies that a web-browser is started and pointed at 11 * the target URL from which it is supposed to perform an initial HTTP GET operation. 14 * @param target A fully encoded URL to which to send an initial HTTP GET and then handle 16 * @param endRedirect A URL to which the user agent will be redirected upon completion of 18 * as the redirect to the URL is the responsibility of the remote server. 20 public void requestUserInput(URL target, Network network, URL endRedirect); 43 * @param url a URL to which to redirect the use [all...] |
/external/clang/lib/Basic/ |
Version.cpp | 32 StringRef URL(SVN_REPOSITORY); 34 StringRef URL(""); 39 StringRef SVNRepository("$URL$"); 40 if (URL.empty()) { 41 URL = SVNRepository.slice(SVNRepository.find(':'), 46 URL = URL.slice(0, URL.find("/src/tools/clang")); 49 size_t Start = URL.find("cfe/"); 51 URL = URL.substr(Start + 4) [all...] |
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
Handler.java | 20 import java.net.URL; 25 * This specially-named class is created reflectively by {@link URL}. For the 30 @Override protected URLConnection openConnection(URL url) throws IOException { 31 return new HandlerURLConnection(url); 35 protected HandlerURLConnection(URL url) { 36 super(url);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/test_protocol/ |
Handler.java | 21 import java.net.URL; 26 protected URLConnection openConnection(URL u) throws IOException {
|
/external/jetty/src/java/org/eclipse/jetty/xml/ |
ConfigurationProcessor.java | 21 import java.net.URL; 34 public void init(URL url, XmlParser.Node root, XmlConfiguration configuration);
|
/external/proguard/src/proguard/ |
FileWordReader.java | 24 import java.net.URL; 28 * A <code>WordReader</code> that returns words from a file or a URL. 47 * Creates a new FileWordReader for the given URL. 49 public FileWordReader(URL url) throws IOException 51 super(new LineNumberReader(new BufferedReader(new InputStreamReader(url.openStream()))), 52 "file '" + url.toString() + "'",
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/spi/ |
Configurator.java | 20 import java.net.URL; 23 Implemented by classes capable of configuring log4j using a URL. 43 Interpret a resource pointed by a URL and set up log4j accordingly. 48 @param url The URL to parse 51 void doConfigure(URL url, LoggerRepository repository);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/ |
Handler.java | 21 import java.net.URL; 26 protected URLConnection openConnection(URL u) throws IOException {
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
HttpAuthenticator.java | 28 import java.net.URL; 74 public String authString (URL u, String scheme, String realm);
|
/external/guava/guava/src/com/google/common/io/ |
Resources.java | 30 import java.net.URL; 36 * Note that even though these methods use {@link URL} parameters, they 51 * Returns a {@link ByteSource} that reads from the given URL. 55 public static ByteSource asByteSource(URL url) { 56 return new UrlByteSource(url); 60 * A byte source that reads from a URL using {@link URL#openStream()}. 64 private final URL url; field in class:Resources.UrlByteSource 196 URL url = loader.getResource(resourceName); local 208 URL url = contextClass.getResource(resourceName); local [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
Handler.java | 33 import java.net.URL; 40 /** open an ftp connection given a URL */ 47 protected boolean equals(URL u1, URL u2) { 54 protected java.net.URLConnection openConnection(URL u) 59 protected java.net.URLConnection openConnection(URL u, Proxy p)
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLClassLoaderTest.java | 25 import java.net.URL; 64 public URL getResource(String res) { 66 return new URL("http://test/BogusClassLoader"); 75 public URLClassLoaderExt(URL[] urls) { 85 * @tests java.net.URLClassLoader#URLClassLoader(java.net.URL[]) 88 URL[] u = new URL[0]; 94 URLClassLoader loader = new URLClassLoader(new URL[] { null }); 104 * @tests java.net.URLClassLoader#URLClassLoader(java.net.URL[], 109 URL[] u = new URL[0] 462 String url; local [all...] |