Lines Matching defs:url
32 import com.sun.jndi.toolkit.url.Uri;
33 import com.sun.jndi.toolkit.url.UrlUtil;
77 public LdapURL(String url) throws NamingException {
82 init(url); // scheme, host, port, path, query
86 throw new MalformedURLException("Not an LDAP URL: " + url);
92 NamingException ne = new NamingException("Cannot parse url: " + url);
96 NamingException ne = new NamingException("Cannot parse url: " + url);
164 public static boolean hasQueryComponents(String url) {
165 return (url.lastIndexOf('?') != -1);
263 LdapURL url = new LdapURL(args[0]);
265 System.out.println("Example LDAP URL: " + url.toString());
266 System.out.println(" scheme: " + url.getScheme());
267 System.out.println(" host: " + url.getHost());
268 System.out.println(" port: " + url.getPort());
269 System.out.println(" DN: " + url.getDN());
270 System.out.println(" attrs: " + url.getAttributes());
271 System.out.println(" scope: " + url.getScope());
272 System.out.println(" filter: " + url.getFilter());
273 System.out.println(" extens: " + url.getExtensions());