Home
last modified time | relevance | path

Searched refs:userInfo (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/net/
DURI.java184 private transient String userInfo; field in URI
235 public URI(String scheme, String userInfo, String host, int port, String path, String query, in URI() argument
237 if (scheme == null && userInfo == null && host == null && path == null in URI()
253 if (userInfo != null || host != null || port != -1) { in URI()
257 if (userInfo != null) { in URI()
258 USER_INFO_ENCODER.appendEncoded(uri, userInfo); in URI()
500 userInfo = tempUserInfo; in parseAuthority()
506 private void validateUserInfo(String uri, String userInfo, int index) in validateUserInfo() argument
508 for (int i = 0; i < userInfo.length(); i++) { in validateUserInfo()
509 char ch = userInfo.charAt(i); in validateUserInfo()
[all …]
DURLStreamHandler.java95 String userInfo; in parseURL() local
109 userInfo = spec.substring(authorityStart, userInfoEnd); in parseURL()
112 userInfo = null; in parseURL()
148 userInfo = url.getUserInfo(); in parseURL()
194 setURL(url, url.getProtocol(), host, port, authority, userInfo, path, query, ref); in parseURL()
244 String authority, String userInfo, String path, String query, in setURL() argument
249 u.set(protocol, host, port, authority, userInfo, path, query, ref); in setURL()
DURL.java91 private transient String userInfo; field in URL
285 userInfo = host.substring(0, index); in fixURL()
288 userInfo = null; in fixURL()
549 userInfo = authority.substring(0, index); in readObject()
597 return userInfo; in getUserInfo()
663 protected void set(String protocol, String host, int port, String authority, String userInfo, in set() argument
671 this.userInfo = userInfo; in set()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLStreamHandlerTest.java226 String userInfo, in setURL() argument
231 userInfo, path, query, ref); in setURL()
DOldURLTest.java497 String userInfo = urlNoUserInfo.getUserInfo(); in testGetUserInfo() local
498 assertTrue("".equals(userInfo) || null == userInfo); in testGetUserInfo()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java1093 String authority, String userInfo, String file, String query, in setURL() argument
1095 super.setURL(u, protocol, host, port, authority, userInfo, in setURL()