Home
last modified time | relevance | path

Searched defs:uri (Results 1 – 25 of 84) sorted by relevance

1234

/libcore/luni/src/test/java/libcore/java/net/
DURITest.java27 URI uri = new URI("http://username:password@host:8080/directory/file?query#ref"); in testUriParts() local
87 URI uri = new URI("http://user:pass@host/path/file?query#hash"); in testUriSerialization() local
92 URI uri = new URI("http:///path"); in testEmptyHost() local
98 URI uri = new URI("http:/path"); in testNoHost() local
104 URI uri = new URI("http://host"); in testNoPath() local
119 URI uri = new URI("http://a"); in testSingleLetterHost() local
133 URI uri = new URI("http://user@userhost.com:password@host"); in testAtSignInUserInfo() local
140 URI uri = new URI("http://user@host"); in testUserNoPassword() local
148 URI uri = new URI("http://user@"); in testUserNoHost() local
156 URI uri = new URI("http://user@host:8080"); in testUserNoPasswordExplicitPort() local
[all …]
DCookiesMCompatibilityTest.java41 URI uri = new URI("http://services.chargepoint.com"); in testCookiesWithoutLeadingPeriod() local
53 URI uri = new URI("http://services.chargepoint.com"); in testCookiesWithLeadingPeriod() local
DOldAndroidURITest.java32 URI uri = new URI(str); in construct() local
44 private static void resolve(String base, String uri, String expected) { in resolve()
DOldCookieHandlerTest.java83 public Map get(URI uri, Map requestHeaders) throws IOException { in get()
88 public void put(URI uri, Map responseHeaders) throws IOException { in put()
DAbstractCookiesTest.java773 public void add(URI uri, HttpCookie cookie) { in add()
786 public List<HttpCookie> get(URI uri) { in get()
798 public boolean remove(URI uri, HttpCookie cookie) { in remove()
849 URI uri = new URI("http://harmony.test.unit.org"); in test_add_LURI_LHttpCookie() local
1202 private void checkValidParams4Get(URI uri, in checkValidParams4Get()
1214 private void checkValidParams4Put(URI uri, in checkValidParams4Put()
1266 URI uri = new URI(cookies[i][j]); in store() local
1398 public void add(URI uri, HttpCookie cookie) { in testCookieManager_LCookieStore_LCookiePolicy()
1402 public List<HttpCookie> get(URI uri) { in testCookieManager_LCookieStore_LCookiePolicy()
1414 public boolean remove(URI uri, HttpCookie cookie) { in testCookieManager_LCookieStore_LCookiePolicy()
[all …]
/libcore/ojluni/src/main/java/java/net/
DCookieStore.java67 public void add(URI uri, HttpCookie cookie); in add()
85 public List<HttpCookie> get(URI uri); in get()
120 public boolean remove(URI uri, HttpCookie cookie); in remove()
DProxySelector.java146 public abstract List<Proxy> select(URI uri); in select()
164 public abstract void connectFailed(URI uri, SocketAddress sa, IOException ioe); in connectFailed()
DCookieHandler.java131 get(URI uri, Map<String, List<String>> requestHeaders) in get()
148 put(URI uri, Map<String, List<String>> responseHeaders) in put()
DResponseCache.java139 get(URI uri, String rqstMethod, Map<String, List<String>> rqstHeaders) in get()
162 public abstract CacheRequest put(URI uri, URLConnection conn) throws IOException; in put()
DCookieManager.java197 get(URI uri, Map<String, List<String>> requestHeaders) in get()
266 put(URI uri, Map<String, List<String>> responseHeaders) in put()
376 private boolean shouldAcceptInternal(URI uri, HttpCookie cookie) { in shouldAcceptInternal()
415 private static boolean pathMatches(URI uri, HttpCookie cookie) { in pathMatches()
DInMemoryCookieStore.java91 public void add(URI uri, HttpCookie cookie) { in add()
117 public List<HttpCookie> get(URI uri) { in get()
210 public boolean remove(URI uri, HttpCookie ck) { in remove()
414 private URI getEffectiveURI(URI uri) { in getEffectiveURI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java231 URI uri = new URI("http://host:-8096/path/index.html"); in test_ConstructorLjava_lang_String() local
265 URI uri = new URI("path[one"); in test_URI_String() local
273 URI uri = new URI(" "); in test_URI_String() local
287 URI uri = new URI("mailto", "mduerst@ifi.unizh.ch", null); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() local
378 URI uri; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_lang_StringLjava_lang_String() local
403 URI uri = new URI(scheme, userinfo, host, port, path, query, in construct1() local
429 URI uri; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() local
478 URI uri = new URI("ht12-3+tp", "", "/p#a%E2%82%ACth", "q^u%25ery", in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() local
513 URI uri = new URI("ftp", "[0001:1234::0001]", "/dir1/dir2", "query", in test_fiveArgConstructor() local
615 URI uri, uri2; in test_compareTo2() local
[all …]
DCookieHandlerTest.java53 public Map get(URI uri, Map requestHeaders) throws IOException { in get()
57 public void put(URI uri, Map responseHeaders) throws IOException { in put()
DCookiePolicyTest.java35 URI uri = new URI(""); in test_ShouldAccept_LURI_LHttpCookie() local
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java294 public boolean declarePrefix (String prefix, String uri) in declarePrefix()
417 public String getPrefix (String uri) in getPrefix()
446 public Enumeration getPrefixes(String uri) { in getPrefixes()
604 void declarePrefix(String prefix, String uri) { in declarePrefix()
694 String uri; in processName() local
745 String getPrefix (String uri) in getPrefix()
DAttributesImpl.java201 public int getIndex (String uri, String localName) in getIndex()
242 public String getType (String uri, String localName) in getType()
284 public String getValue (String uri, String localName) in getValue()
381 public void addAttribute (String uri, String localName, String qName, in addAttribute()
415 public void setAttribute (int index, String uri, String localName, in setAttribute()
468 public void setURI (int index, String uri) in setURI()
/libcore/luni/src/main/java/org/xml/sax/
DAttributes.java184 public int getIndex (String uri, String localName); in getIndex()
210 public abstract String getType (String uri, String localName); in getType()
239 public abstract String getValue (String uri, String localName); in getValue()
DContentHandler.java169 public void startPrefixMapping (String prefix, String uri) in startPrefixMapping()
257 public void startElement (String uri, String localName, in startElement()
283 public void endElement (String uri, String localName, in endElement()
/libcore/luni/src/main/java/org/xml/sax/ext/
DAttributes2.java88 public boolean isDeclared (String uri, String localName); in isDeclared()
119 public boolean isSpecified (String uri, String localName); in isSpecified()
DAttributes2Impl.java100 public boolean isDeclared (String uri, String localName) in isDeclared()
154 public boolean isSpecified (String uri, String localName) in isSpecified()
245 public void addAttribute (String uri, String localName, String qName, in addAttribute()
/libcore/ojluni/src/main/java/java/nio/file/
DFileSystems.java217 public static FileSystem getFileSystem(URI uri) { in getFileSystem()
273 public static FileSystem newFileSystem(URI uri, Map<String,?> env) in newFileSystem()
318 public static FileSystem newFileSystem(URI uri, Map<String,?> env, ClassLoader loader) in newFileSystem()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatAttributes.java83 public int getIndex(String uri, String localName) { in getIndex()
108 public String getType(String uri, String localName) { in getType()
122 public String getValue(String uri, String localName) { in getValue()
151 private static native int getIndex(long attributePointer, String uri, String localName); in getIndex()
153 private static native String getValue(long attributePointer, String uri, String localName); in getValue()
/libcore/ojluni/src/main/java/sun/security/x509/
DURIName.java84 private URI uri; field in URIName
157 URI uri; in nameConstraint() local
183 URIName(URI uri, String host, DNSName hostDNS) { in URIName()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DURICertStore.java117 private URI uri; field in URICertStore
219 URI uri = ((URIName) gn).getURI(); in getInstance() local
452 private final URI uri; field in URICertStore.URICertStoreParameters
454 URICertStoreParameters(URI uri) { in URICertStoreParameters()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java143 public XPathFactory newFactory(String uri) { in newFactory()
163 private XPathFactory _newFactory(String uri) { in _newFactory()
266 private XPathFactory loadFromServicesFile(String uri, String resourceName, InputStream in) { in loadFromServicesFile()

1234