Lines Matching refs:authority
128 String authority = u.getAuthority();
155 // Parse the authority part if any
171 host = authority = spec.substring(start, i);
173 int ind = authority.indexOf('@');
175 userInfo = authority.substring(0, ind);
176 host = authority.substring(ind+1);
204 "Invalid authority field: " + authority);
209 "Invalid authority field: " + authority);
229 // If the authority is defined then the path is defined by the
231 if (authority != null && authority.length() > 0)
247 if (ind == -1 && authority != null)
253 String seperator = (authority != null) ? "/" : "";
305 setURL(u, protocol, host, port, authority, userInfo, path, query, ref);
520 * @param authority the authority part for the URL.
531 String authority, String userInfo, String path,
538 u.set(u.getProtocol(), host, port, authority, userInfo, path, query, ref);
564 String authority = null;
567 authority = (port == -1) ? host : host + ":" + port;
588 setURL(u, protocol, host, port, authority, userInfo, path, query, ref);