/libcore/luni/src/main/java/java/net/ |
H A D | CookiePolicy.java | 34 public boolean shouldAccept(URI uri, HttpCookie cookie) { 43 public boolean shouldAccept(URI uri, HttpCookie cookie) { 52 public boolean shouldAccept(URI uri, HttpCookie cookie) { 53 return HttpCookie.domainMatches(cookie.getDomain(), uri.getHost()); 61 * @param uri 67 boolean shouldAccept(URI uri, HttpCookie cookie); argument
|
H A D | CookieHandler.java | 47 * @param uri 55 public abstract Map<String, List<String>> get(URI uri, argument 62 * @param uri 69 public abstract void put(URI uri, Map<String, List<String>> responseHeaders) argument
|
H A D | CookieStore.java | 44 * @param uri 45 * the uri associated with the specified cookie. A null value 50 void add(URI uri, HttpCookie cookie); argument 56 * @param uri 57 * the uri this cookie associated with. If null, this cookie will 62 * if uri is null 64 List<HttpCookie> get(URI uri); argument 86 * @param uri 87 * the uri associated with the specified cookie. If the cookie is 88 * not associated with an URI when added, uri shoul 95 remove(URI uri, HttpCookie cookie) argument [all...] |
H A D | CookieStoreImpl.java | 34 public synchronized void add(URI uri, HttpCookie cookie) { argument 39 uri = cookiesUri(uri); 40 List<HttpCookie> cookies = map.get(uri); 43 map.put(uri, cookies); 50 private URI cookiesUri(URI uri) { argument 51 if (uri == null) { 55 return new URI("http", uri.getHost(), null, null); 57 return uri; // probably a URI with no host 61 public synchronized List<HttpCookie> get(URI uri) { argument 125 remove(URI uri, HttpCookie cookie) argument [all...] |
H A D | ProxySelector.java | 112 * Returns the proxy servers to use on connections to {@code uri}. This list 115 * @throws IllegalArgumentException if {@code uri} is null. 117 public abstract List<Proxy> select(URI uri); argument 123 * @param uri the URI to which the connection could not be established. 129 public abstract void connectFailed(URI uri, SocketAddress address, IOException failure); argument
|
H A D | ResponseCache.java | 51 * @param uri 64 public abstract CacheResponse get(URI uri, String requestMethod, argument 73 * @param uri 84 public abstract CacheRequest put(URI uri, URLConnection connection) throws IOException; argument
|
H A D | CookieManager.java | 93 * Searches and gets all cookies in the cache by the specified uri in the 96 * @param uri 97 * the specified uri to search for 105 public Map<String, List<String>> get(URI uri, argument 107 if (uri == null || requestHeaders == null) { 112 for (HttpCookie cookie : store.get(uri)) { 113 if (HttpCookie.pathMatches(cookie, uri) 114 && HttpCookie.secureMatches(cookie, uri) 115 && HttpCookie.portMatches(cookie, uri)) { 148 * Sets cookies according to uri an 158 put(URI uri, Map<String, List<String>> responseHeaders) argument [all...] |
H A D | ProxySelectorImpl.java | 25 @Override public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { argument 26 if (uri == null || sa == null || ioe == null) { 31 @Override public List<Proxy> select(URI uri) { argument 32 return Collections.singletonList(selectOneProxy(uri)); 35 private Proxy selectOneProxy(URI uri) { argument 36 if (uri == null) { 37 throw new IllegalArgumentException("uri == null"); 39 String scheme = uri.getScheme(); 67 && isNonProxyHost(uri.getHost(), System.getProperty(nonProxyHostsKey))) {
|
/libcore/luni/src/main/java/org/xml/sax/ |
H A D | Attributes.java | 180 * @param uri The Namespace URI, or the empty string if 186 public int getIndex (String uri, String localName); 205 * @param uri The Namespace URI, or the empty String if the 212 public abstract String getType (String uri, String localName); 235 * @param uri The Namespace URI, or the empty String if the 241 public abstract String getValue (String uri, String localName); 184 getIndex(String uri, String localName) argument 210 getType(String uri, String localName) argument 239 getValue(String uri, String localName) argument
|
H A D | ContentHandler.java | 163 * @param uri the Namespace URI the prefix is mapped to 169 public void startPrefixMapping (String prefix, String uri) argument 239 * @param uri the Namespace URI, or the empty string if the 257 public void startElement (String uri, String localName, argument 272 * @param uri the Namespace URI, or the empty string if the 283 public void endElement (String uri, String localName, argument
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
H A D | Attributes2.java | 80 * @param uri The Namespace URI, or the empty string if 88 public boolean isDeclared (String uri, String localName); argument 111 * @param uri The Namespace URI, or the empty string if 119 public boolean isSpecified (String uri, String localName); argument
|
H A D | Attributes2Impl.java | 95 public boolean isDeclared (String uri, String localName) argument 97 int index = getIndex (uri, localName); 102 + ", namespace=" + uri); 142 * @param uri The Namespace URI, or the empty string if 149 public boolean isSpecified (String uri, String localName) argument 151 int index = getIndex (uri, localName); 156 + ", namespace=" + uri); 228 * @param uri The Namespace URI, or the empty string if 240 public void addAttribute (String uri, String localName, String qName, argument 243 super.addAttribute (uri, localNam [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldAndroidURITest.java | 32 URI uri = new URI(str); 33 assertEquals(host, uri.getHost()); 34 assertEquals(path, uri.getPath()); 35 assertEquals(absolute, uri.isAbsolute()); 44 private static void resolve(String base, String uri, String expected) { argument 46 URI resolved = b.resolve(uri);
|
H A D | OldCookieHandlerTest.java | 80 public Map get(URI uri, Map requestHeaders) throws IOException { argument 81 getURI = uri; 86 public void put(URI uri, Map responseHeaders) throws IOException { argument 87 putURI = uri;
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMLocatorImpl.java | 28 private final String uri; field in class:DOMLocatorImpl 36 this.uri = src.getUri(); 81 return uri;
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
H A D | XPathFactory.java | 25 *<p>See {@link #newInstance(String uri)} for lookup mechanism.</p> 46 * <p>Protected constructor as {@link #newInstance()}, {@link #newInstance(String uri)} 47 * or {@link #newInstance(String uri, String factoryClassName, ClassLoader classLoader)} 88 * If the system property {@link #DEFAULT_PROPERTY_NAME} + ":uri" is present, 89 * where uri is the parameter to this method, then its value is read as a class name. 122 * @param uri Identifies the underlying object model. 130 * @throws NullPointerException If <code>uri</code> is <code>null</code>. 131 * @throws IllegalArgumentException If <code>uri.length() == 0</code>. 133 public static final XPathFactory newInstance(final String uri) argument 135 if (uri 165 newInstance(String uri, String factoryClassName, ClassLoader classLoader) argument [all...] |
H A D | XPathFactoryFinder.java | 120 * @param uri 128 public XPathFactory newFactory(String uri) { argument 129 if (uri == null) { 130 throw new NullPointerException("uri == null"); 132 XPathFactory f = _newFactory(uri); 135 debugPrintln("factory '" + f.getClass().getName() + "' was found for " + uri); 137 debugPrintln("unable to find a factory for " + uri); 146 * @param uri identifies the object model. 148 private XPathFactory _newFactory(String uri) { argument 150 String propertyName = SERVICE_CLASS.getName() + ":" + uri; 269 loadFromServicesFile(String uri, String resourceName, InputStream in) argument [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
H A D | LSSerializer.java | 400 * and <code>LSOutput.systemId</code> set to the <code>uri</code> 403 * @param uri The URI to write to. 416 String uri) 415 writeToURI(Node nodeArg, String uri) argument
|
H A D | LSParser.java | 97 * <code>"pi-base-uri-not-preserved" [warning]</code></dt> 323 * @param uri The location of the XML document to be read. 339 public Document parseURI(String uri) argument
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
H A D | DocumentBuilder.java | 141 * @param uri The location of the content to be parsed. 148 public Document parse(String uri) argument 150 if (uri == null) { 154 InputSource in = new InputSource(uri);
|
H A D | SAXParser.java | 226 * @param uri The location of the content to be parsed. 229 * @throws IllegalArgumentException If the uri is null. 235 public void parse(String uri, HandlerBase hb) argument 237 if (uri == null) { 238 throw new IllegalArgumentException("uri cannot be null"); 241 InputSource input = new InputSource(uri); 250 * @param uri The location of the content to be parsed. 253 * @throws IllegalArgumentException If the uri is null. 259 public void parse(String uri, DefaultHandler dh) argument 261 if (uri [all...] |
/libcore/luni/src/main/java/libcore/net/ |
H A D | UriCodec.java | 42 public final String validate(String uri, int start, int end, String name) argument 45 char ch = uri.charAt(i); 53 throw new URISyntaxException(uri, "Incomplete % sequence in " + name, i); 55 int d1 = hexToInt(uri.charAt(i + 1)); 56 int d2 = hexToInt(uri.charAt(i + 2)); 58 throw new URISyntaxException(uri, "Invalid % sequence: " 59 + uri.substring(i, i + 3) + " in " + name, i); 63 throw new URISyntaxException(uri, "Illegal character in " + name, i); 66 return uri.substring(start, end);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatAttributes.java | 77 public int getIndex(String uri, String localName) { argument 78 if (uri == null) { 79 throw new NullPointerException("uri == null"); 88 return getIndex(pointer, uri, localName); 102 public String getType(String uri, String localName) { argument 103 if (uri == null) { 104 throw new NullPointerException("uri == null"); 109 return getIndex(uri, localName) == -1 ? null : CDATA; 116 public String getValue(String uri, String localName) { argument 117 if (uri 145 getIndex(int attributePointer, String uri, String localName) argument 147 getValue(int attributePointer, String uri, String localName) argument [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
H A D | AttributesImpl.java | 195 * @param uri The attribute's Namespace URI, or the empty 201 public int getIndex (String uri, String localName) 205 if (data[i].equals(uri) && data[i+1].equals(localName)) { 235 * @param uri The Namespace URI, or the empty string for a name 242 public String getType (String uri, String localName) 246 if (data[i].equals(uri) && data[i+1].equals(localName)) { 277 * @param uri The Namespace URI, or the empty string for a name 284 public String getValue (String uri, String localName) 288 if (data[i].equals(uri) && data[i+1].equals(localName)) { 372 * @param uri Th 199 getIndex(String uri, String localName) argument 240 getType(String uri, String localName) argument 282 getValue(String uri, String localName) argument 379 addAttribute(String uri, String localName, String qName, String type, String value) argument 413 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument 466 setURI(int index, String uri) argument [all...] |
H A D | DefaultHandler.java | 219 * @param uri The Namespace URI mapped to the prefix. 224 public void startPrefixMapping (String prefix, String uri) 258 * @param uri The Namespace URI, or the empty string if the 273 public void startElement (String uri, String localName, 289 * @param uri The Namespace URI, or the empty string if the 301 public void endElement (String uri, String localName, String qName) 221 startPrefixMapping(String prefix, String uri) argument 270 startElement(String uri, String localName, String qName, Attributes attributes) argument 298 endElement(String uri, String localName, String qName) argument
|