This class is used by an LdapDnsProvider to return the result
of a DNS lookup for a given LDAP URL. The result consists of a domain name
and its associated LDAP server endpoints.
A null domainName is equivalent to and represented
by an empty string.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | LdapDnsProviderResult(String
the resolved domain name; can be null. domainName, List<String> the possibly empty list of resolved LDAP server
endpoints endpoints)Construct an LdapDnsProviderResult consisting of a resolved domain name and the LDAP server endpoints that serve the domain. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public List | Returns: a possibly empty unmodifiableList containing the
resolved LDAP server endpointsReturns the possibly empty list of individual server endpoints resolved from the LDAP URL. |
| domainName | back to summary |
|---|---|
| private final String domainName | |
| endpoints | back to summary |
|---|---|
| private final List<String> endpoints | |
| LdapDnsProviderResult | back to summary |
|---|---|
| public LdapDnsProviderResult(String domainName, List<String> endpoints) Construct an LdapDnsProviderResult consisting of a resolved domain name and the LDAP server endpoints that serve the domain.
| |
| getDomainName | back to summary |
|---|---|
| public String getDomainName() Returns the domain name resolved from the LDAP URL. This method returns
the empty string if the
| |
| getEndpoints | back to summary |
|---|---|
| public List Returns the possibly empty list of individual server endpoints resolved from the LDAP URL. | |