HomeSort by relevance Sort by last modified time
    Searched refs:URI (Results 1 - 25 of 155) sorted by null

1 2 3 4 5 6 7

  /external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/
regress-82306.js 31 var URI = '';
45 URI += '<?xml version="1.0"?>';
46 URI += '<zcti application="xxxx_demo">';
47 URI += '<pstn_data>';
48 URI += '<ani>650-930-xxxx</ani>';
49 URI += '<dnis>877-485-xxxx</dnis>';
50 URI += '</pstn_data>';
51 URI += '<keyvalue key="name" value="xxx"/>';
52 URI += '<keyvalue key="phone" value="6509309000"/>';
53 URI += '</zcti>'
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
RedirectLocations.java 34 import java.net.URI;
43 private final Set<URI> uris;
47 this.uris = new HashSet<URI>();
51 * Returns true if this collection contains the given URI.
53 public boolean contains(final URI uri) {
54 return this.uris.contains(uri);
58 * Adds a new URI to the list of redirects.
60 public void add(final URI uri) {
    [all...]
DefaultRedirectHandler.java 34 import java.net.URI;
93 public URI getLocationURI(
112 URI uri; local
114 uri = new URI(location);
116 throw new ProtocolException("Invalid redirect URI: " + location, ex);
120 // rfc2616 demands the location value be a complete URI
122 if (!uri.isAbsolute()) {
125 + uri + "' not allowed")
    [all...]
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
URITest.java 24 import java.net.URI;
29 @TestTargetClass(URI.class)
32 * @tests java.net.URI(java.lang.String)
37 method = "URI",
43 new URI("%3");
44 fail("Assert 0: URI constructor failed to throw exception on invalid input.");
52 URI uri = new URI("http://host:-8096/path/index.html"); local
53 assertEquals("Assert 2: returned wrong port value,", -1, uri.getPort())
    [all...]
  /external/apache-http/src/org/apache/http/client/methods/
HttpDelete.java 34 import java.net.URI;
43 * identified by the Request-URI. [...] The client cannot
58 public HttpDelete(final URI uri) {
60 setURI(uri);
64 * @throws IllegalArgumentException if the uri is invalid.
66 public HttpDelete(final String uri) {
68 setURI(URI.create(uri));
HttpGet.java 34 import java.net.URI;
43 * entity) is identified by the Request-URI. If the Request-URI refers
65 public HttpGet(final URI uri) {
67 setURI(uri);
71 * @throws IllegalArgumentException if the uri is invalid.
73 public HttpGet(final String uri) {
75 setURI(URI.create(uri));
    [all...]
HttpHead.java 34 import java.net.URI;
65 public HttpHead(final URI uri) {
67 setURI(uri);
71 * @throws IllegalArgumentException if the uri is invalid.
73 public HttpHead(final String uri) {
75 setURI(URI.create(uri));
HttpPost.java 34 import java.net.URI;
44 * the Request-URI in the Request-Line. POST is designed to allow a uniform
69 public HttpPost(final URI uri) {
71 setURI(uri);
75 * @throws IllegalArgumentException if the uri is invalid.
77 public HttpPost(final String uri) {
79 setURI(URI.create(uri));
HttpPut.java 34 import java.net.URI;
43 * supplied Request-URI. If the Request-URI refers to an already
61 public HttpPut(final URI uri) {
63 setURI(uri);
67 * @throws IllegalArgumentException if the uri is invalid.
69 public HttpPut(final String uri) {
71 setURI(URI.create(uri));
    [all...]
HttpTrace.java 34 import java.net.URI;
64 public HttpTrace(final URI uri) {
66 setURI(uri);
70 * @throws IllegalArgumentException if the uri is invalid.
72 public HttpTrace(final String uri) {
74 setURI(URI.create(uri));
HttpUriRequest.java 34 import java.net.URI;
40 * convenience methods to access request properties such as request URI
59 * Returns the URI this request uses, such as
62 URI getURI();
  /dalvik/libcore/luni/src/test/java/tests/api/java/net/
URITest.java 26 import java.net.URI;
31 @TestTargetClass(URI.class)
34 private URI[] uris;
102 private URI[] getUris() throws URISyntaxException {
107 uris = new URI[] {
109 new URI(
112 new URI(
115 new URI(
118 // URI("ascheme://user\u00df\u00a3info@host:0/a\u0080path?qu\u00a9\u00aeery#fr\u00e4\u00e8g"),
121 new URI("http", "user%60%20info", "host", 80, "/a%20path", //$NON-NLS-4
259 URI uri = new URI("path[one"); local
267 URI uri = new URI(" "); local
289 URI uri; local
393 URI uri; local
418 URI uri = new URI(scheme, userinfo, host, port, path, query, local
450 URI uri; local
505 URI uri = new URI("ht12-3+tp", "", "\/p#a%E2%82%ACth", "q^u%25ery", local
546 URI uri = new URI("ftp", "[0001:1234::0001]", "\/dir1\/dir2", "query", local
666 URI uri, uri2; local
814 URI uri = new URI("http:\/\/\/~\/dictionary"); local
883 URI uri = new URI("file:\/\/\/tmp\/"); local
1046 URI uri = new URI("http:\/\/myhost:-8096\/site\/index.html"); local
1716 URI uri = uris[i].parseServerAuthority(); local
1737 URI uri = new URI("http:\/\/us[er@host:80\/"); local
1744 URI uri = new URI("http:\/\/[ddd::hgghh]\/"); local
1751 URI uri = new URI("http", "[3ffe:2a00:100:7031:2e:1:80:80]a:80", local
1759 URI uri = new URI("http", "host:80", "\/path", "fragment"); local
    [all...]
ProxySelectorTest.java 30 import java.net.URI;
58 private static URI httpUri;
60 private static URI ftpUri;
62 private static URI httpsUri;
64 private static URI tcpUri;
72 httpUri = new URI("http://test.com");
73 ftpUri = new URI("ftp://test.com");
74 httpsUri = new URI("https://test.com");
75 tcpUri = new URI("socket://host.com");
189 * @tests java.net.ProxySelector#select(URI)
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
URITest.java 21 import java.net.URI;
35 URI uri = new URI(str); local
36 assertEquals(host, uri.getHost());
37 assertEquals(path, uri.getPath());
38 assertEquals(absolute, uri.isAbsolute());
48 private static void resolve(String base, String uri, String expected) {
49 URI b = URI.create(base)
    [all...]
  /external/apache-http/src/org/apache/http/client/utils/
URIUtils.java 32 import java.net.URI;
38 * A collection of utilities for {@link URI URIs}, to workaround
44 * Constructs a {@link URI} using all the parameters. This should be
46 * {@link URI#URI(String, String, String, int, String, String, String)}
47 * or any of the other URI multi-argument URI constructors.
68 * relative, if the URI string constructed from the given
73 public static URI createURI(
107 return new URI(buffer.toString())
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
MailTransportUnitTests.java 24 import java.net.URI;
34 * Tests of the Uri parsing logic
38 // Parse with everything in the Uri
39 URI uri = new URI("smtp://user:password@server.com:999"); local
41 transport.setUri(uri, 888);
50 uri = new URI("smtp://server.com:999");
52 transport.setUri(uri, 888)
    [all...]
  /external/apache-http/src/org/apache/http/client/
RedirectHandler.java 34 import java.net.URI;
74 * @return redirect URI
76 URI getLocationURI(HttpResponse response, HttpContext context)
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSource.java 22 import java.net.URI;
34 super(URI.create("string:///" + sourceName.replace(".", "/") + ".java"),
MemoryByteCode.java 22 import java.net.URI;
34 super(URI.create("byte:///" + name.replace(".", "/") + ".class"),
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupAccountType.java 33 import java.net.URI;
97 URI uri = new URI(mAccount.getStoreUri(this)); local
98 uri = new URI("pop3", uri.getUserInfo(), uri.getHost(), uri.getPort(), null, null, null);
99 mAccount.setStoreUri(this, uri.toString())
116 URI uri = new URI(mAccount.getStoreUri(this)); local
139 URI uri = new URI(mAccount.getStoreUri(this)); local
168 URI uri = new URI(mAccount.getStoreUri(this)); local
    [all...]
  /dalvik/libcore/luni/src/main/java/java/net/
CookieHandler.java 64 * Gets all cookies for a specific URI from the cookie cache.
66 * @param uri
67 * a URI to search for applicable cookies.
74 public abstract Map<String, List<String>> get(URI uri,
78 * Sets all cookies of a specific URI in the {@code responseHeaders} into
81 * @param uri
82 * the origin URI of the cookies.
88 public abstract void put(URI uri, Map<String, List<String>> responseHeaders
    [all...]
ProxySelector.java 92 * uri}. The format of URI is defined as below:
94 * <li>http URI stands for http connection.</li>
95 * <li>https URI stands for https connection.</li>
96 * <li>ftp URI stands for ftp connection.</li>
97 * <li>socket:://ip:port URI stands for tcp client sockets connection.</li>
99 * @param uri
100 * the target URI object.
105 * if {@code uri} is {@code null}.
107 public abstract List<Proxy> select(URI uri)
    [all...]
ResponseCache.java 40 * @see #put(URI, URLConnection)
129 * Gets the cached response according to the requesting URI, method and
132 * @param uri
133 * the requesting URI.
145 public abstract CacheResponse get(URI uri, String rqstMethod,
155 * @param uri
166 public abstract CacheRequest put(URI uri, URLConnection conn)
  /packages/apps/Email/src/com/android/email/mail/
Transport.java 23 import java.net.URI;
35 * Interpretation of URI
55 * Set the Uri for the connection.
57 * @param uri The Uri for the connection
58 * @param defaultPort If the Uri does not include an explicit port, this value will be used.
60 public void setUri(URI uri, int defaultPort);
63 * @return Returns the host part of the Uri
68 * @return Returns the port (either from the Uri or from the default
    [all...]
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
HttpConfiguration.java 22 import java.net.URI;
41 private URI uri; field in class:HttpConfiguration
43 public HttpConfiguration(URI uri) {
44 this.uri = uri;
45 this.hostName = uri.getHost();
46 this.hostPort = uri.getPort();
48 if(uri.getScheme().equals("https")) { //$NON-NLS-1
    [all...]

Completed in 380 milliseconds

1 2 3 4 5 6 7