Modifier and Type | Field and Description |
---|---|
private String | |
private static final Uri. | |
private String | |
private String | |
private String | |
public static final Uri. | |
private static final String | |
private String | |
private boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public static String[] | |
public String | |
public String | |
public String | |
public String | |
public String | |
public static boolean | |
public static boolean | |
protected boolean | isSchemeOnly(String
An URI string uri)Overrides com. Uri that supports scheme only
URIs can override this method and return true in the
case where the URI string is a scheme-only URI that
the subclass supports.
|
protected MalformedURLException | newInvalidURISchemeException(String
the URI string uri)Overrides com. MalformedURLException to be thrown when the
URI scheme is not supported.
|
protected Uri. | |
private void | |
pack-priv static String | |
public boolean | |
public static String |
attributes | back to summary |
---|---|
private String attributes |
DEFAULT_PARSE_MODE | back to summary |
---|---|
private static final Uri. |
DN | back to summary |
---|---|
private String DN |
extensions | back to summary |
---|---|
private String extensions |
filter | back to summary |
---|---|
private String filter |
PARSE_MODE | back to summary |
---|---|
public static final Uri. |
PARSE_MODE_PROP | back to summary |
---|---|
private static final String PARSE_MODE_PROP |
scope | back to summary |
---|---|
private String scope |
useSsl | back to summary |
---|---|
private boolean useSsl |
LdapURL | back to summary |
---|---|
public LdapURL(String url) throws NamingException Creates an LdapURL object from an LDAP URL string. |
fromList | back to summary |
---|---|
public static String[] fromList(String urlList) throws NamingException Given a space-separated list of LDAP URLs, returns an array of strings. |
getAttributes | back to summary |
---|---|
public String getAttributes() Returns the LDAP URL's attributes. |
getDN | back to summary |
---|---|
public String getDN() Returns the LDAP URL's distinguished name. |
getExtensions | back to summary |
---|---|
public String getExtensions() Returns the LDAP URL's extensions. |
getFilter | back to summary |
---|---|
public String getFilter() Returns the LDAP URL's filter. |
getScope | back to summary |
---|---|
public String getScope() Returns the LDAP URL's scope. |
hasQueryComponents | back to summary |
---|---|
public static boolean hasQueryComponents(String url) Determines whether an LDAP URL has query components. |
isLdapSchemeOnly | back to summary |
---|---|
public static boolean isLdapSchemeOnly(String uri) |
isSchemeOnly | back to summary |
---|---|
protected boolean isSchemeOnly(String uri) Overrides com. Doc from com. A subclass of |
newInvalidURISchemeException | back to summary |
---|---|
protected MalformedURLException newInvalidURISchemeException(String uri) Overrides com. Doc from com. Creates a
|
parseMode | back to summary |
---|---|
protected Uri. Overrides com. Doc from com. The parse mode for parsing this URI.
The default is |
parsePathAndQuery | back to summary |
---|---|
private void parsePathAndQuery() throws MalformedURLException, UnsupportedEncodingException |
toUrlString | back to summary |
---|---|
pack-priv static String toUrlString(String host, int port, String dn, boolean useSsl) |
useSsl | back to summary |
---|---|
public boolean useSsl() Returns true if the URL is an LDAPS URL. |
validateURI | back to summary |
---|---|
public static String validateURI(String uri) |