Home
last modified time | relevance | path

Searched refs:authority (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/net/
DURI.java183 private transient String authority; field in URI
306 public URI(String scheme, String authority, String path, String query, in URI() argument
317 if (authority != null) { in URI()
319 AUTHORITY_ENCODER.appendEncoded(uri, authority); in URI()
394 authority = AUTHORITY_ENCODER.validate(uri, authorityStart, fileStart, "authority"); in parseURI()
437 if (authority == null) { in parseAuthority()
442 String temp = authority; in parseAuthority()
448 validateUserInfo(authority, tempUserInfo, 0); in parseAuthority()
470 throw new URISyntaxException(authority, in parseAuthority()
477 throw new URISyntaxException(authority, in parseAuthority()
[all …]
DURLStreamHandler.java94 String authority; in parseURL() local
105 authority = spec.substring(authorityStart, fileStart); in parseURL()
147 authority = url.getAuthority(); in parseURL()
192 path = UrlUtils.authoritySafePath(authority, path); 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()
270 String authority = url.getAuthority(); in toExternalForm() local
271 if (authority != null) { in toExternalForm()
274 URI.AUTHORITY_ENCODER.appendPartiallyEncoded(result, authority); in toExternalForm()
[all …]
DURL.java85 private String authority; field in URL
278 authority = host; in fixURL()
280 authority = authority + ":" + port; in fixURL()
544 if (host != null && authority == null) { in readObject()
546 } else if (authority != null) { in readObject()
548 if ((index = authority.lastIndexOf('@')) > -1) { in readObject()
549 userInfo = authority.substring(0, index); in readObject()
590 return authority; in getAuthority()
663 protected void set(String protocol, String host, int port, String authority, String userInfo, in set() argument
670 this.authority = authority; in set()
/libcore/luni/src/main/java/java/security/cert/
DCertificateRevokedException.java44 private final X500Principal authority; field in CertificateRevokedException
56 X500Principal authority, Map<String, Extension> extensions) { in CertificateRevokedException() argument
59 this.authority = authority; in CertificateRevokedException()
67 return authority; in getAuthorityName()
/libcore/luni/src/main/java/libcore/net/url/
DUrlUtils.java89 public static String authoritySafePath(String authority, String path) { in authoritySafePath() argument
90 if (authority != null && !authority.isEmpty() && !path.isEmpty() && !path.startsWith("/")) { in authoritySafePath()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLStreamHandlerTest.java225 String authority, in setURL() argument
230 super.setURL(u, protocol, host, port, authority, in setURL()
/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()