Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java67 private final X500Principal authority; field in CertificateRevokedException
90 X500Principal authority, Map<String, Extension> extensions) { in CertificateRevokedException() argument
91 if (revocationDate == null || reason == null || authority == null || in CertificateRevokedException()
97 this.authority = authority; in CertificateRevokedException()
129 return authority; in getAuthorityName()
177 + ", authority: " + authority + ", extensions: " + extensions; in getMessage()
/libcore/ojluni/src/main/java/java/net/
DURLStreamHandler.java126 String authority = u.getAuthority(); in parseURL() local
178 host = authority = spec.substring(start, i); in parseURL()
180 int ind = authority.indexOf('@'); in parseURL()
182 userInfo = authority.substring(0, ind); in parseURL()
183 host = authority.substring(ind+1); in parseURL()
211 "Invalid authority field: " + authority); in parseURL()
216 "Invalid authority field: " + authority); in parseURL()
270 if (ind == -1 && authority != null) in parseURL()
276 String seperator = (authority != null) ? "/" : ""; in parseURL()
346 setURL(u, protocol, host, port, authority, userInfo, path, query, ref); in parseURL()
[all …]
DURI.java483 private transient String authority; // Registry or server field in URI
739 String authority, in URI() argument
744 authority, null, null, -1, in URI()
913 if ((host != null) || (authority == null)) in parseServerAuthority()
1183 return authority; in getRawAuthority()
1198 decodedAuthority = decode(authority); in getAuthority()
1433 if (this.authority == that.authority) return true; in equals()
1439 } else if (this.authority != null) { in equals()
1441 if (!equal(this.authority, that.authority)) return false; in equals()
1442 } else if (this.authority != that.authority) { in equals()
[all …]
DURL.java188 private String authority; field in URL
399 authority = (port == -1) ? host : host + ":" + port; in URL()
578 authority = context.authority; in URL()
672 authority = port == -1 ? host : host + ":" + port; in set()
705 String authority, String userInfo, String path, in set() argument
720 this.authority = authority; in set()
764 return authority; in getAuthority()
1280 if (authority == null && in readObject()
1284 authority = (port == -1) ? host : host + ":" + port; in readObject()
1292 } else if (authority != null) { in readObject()
[all …]
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java311 String authority, in createURI() argument
317 authority, null, null, -1, in createURI()
325 String authority, in toString() argument
339 authority, userInfo, host, port, in toString()
347 String authority, in appendSchemeSpecificPart() argument
376 appendAuthority(sb, authority, userInfo, host, port); in appendSchemeSpecificPart()
387 String authority, in appendAuthority() argument
408 } else if (authority != null) { in appendAuthority()
410 if (authority.startsWith("[")) { in appendAuthority()
411 int end = authority.indexOf("]"); in appendAuthority()
[all …]
/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()