Uses of Class
org.ldaptive.LdapURL
-
Packages that use LdapURL Package Description org.ldaptive org.ldaptive.dns org.ldaptive.referral org.ldaptive.transport org.ldaptive.transport.netty -
-
Uses of LdapURL in org.ldaptive
Fields in org.ldaptive with type parameters of type LdapURL Modifier and Type Field Description private Predicate<LdapURL>
AbstractConnectionStrategy. activateCondition
Condition used to determine whether to activate a URL.private List<LdapURL>
LdapURLActivatorService. inactiveUrls
List of inactive URLs to test.private Function<List<LdapURL>,Iterator<LdapURL>>
ActivePassiveConnectionStrategy. iterFunction
Custom iterator function.private Function<List<LdapURL>,Iterator<LdapURL>>
ActivePassiveConnectionStrategy. iterFunction
Custom iterator function.private Function<List<LdapURL>,Iterator<LdapURL>>
DnsResolverConnectionStrategy. iterFunction
Custom iterator function.private Function<List<LdapURL>,Iterator<LdapURL>>
DnsResolverConnectionStrategy. iterFunction
Custom iterator function.private Function<List<LdapURL>,Iterator<LdapURL>>
RoundRobinConnectionStrategy. iterFunction
Custom iterator function.private Function<List<LdapURL>,Iterator<LdapURL>>
RoundRobinConnectionStrategy. iterFunction
Custom iterator function.private List<LdapURL>
AbstractConnectionStrategy.DefaultLdapURLIterator. ldapUrls
URLs to iterate over.private Predicate<LdapURL>
AbstractConnectionStrategy. retryCondition
Condition used to determine whether to test an inactive URL.private List<LdapURL>
LdapURLSet. urls
List of LDAP URLs to connect to in the order provided by the connection strategy.Methods in org.ldaptive that return LdapURL Modifier and Type Method Description static LdapURL
LdapURL. copy(LdapURL ldapURL)
Returns a new ldap URL initialized with the supplied URL.LdapURL
Connection. getLdapURL()
Returns the URL that was selected for this connection.LdapURL
AbstractConnectionStrategy.DefaultLdapURLIterator. next()
Methods in org.ldaptive that return types with arguments of type LdapURL Modifier and Type Method Description Predicate<LdapURL>
AbstractConnectionStrategy. getActivateCondition()
Predicate<LdapURL>
ConnectionStrategy. getActivateCondition()
Returns the condition used to activate connections.List<LdapURL>
LdapURLSet. getActiveUrls()
Returns the active URLs.List<LdapURL>
LdapURLActivatorService. getInactiveUrls()
Returns the list of inactive urls.List<LdapURL>
LdapURLSet. getInactiveUrls()
Returns the inactive URLs.Predicate<LdapURL>
AbstractConnectionStrategy. getRetryCondition()
Predicate<LdapURL>
ConnectionStrategy. getRetryCondition()
Returns the condition used to determine whether to attempt to activate a connection.List<LdapURL>
LdapURLSet. getUrls()
Iterator<LdapURL>
ActivePassiveConnectionStrategy. iterator()
Iterator<LdapURL>
DnsResolverConnectionStrategy. iterator()
Iterator<LdapURL>
DnsSrvConnectionStrategy. iterator()
Returns a list of URLs retrieved from DNS SRV records.Iterator<LdapURL>
RandomConnectionStrategy. iterator()
Iterator<LdapURL>
RoundRobinConnectionStrategy. iterator()
Methods in org.ldaptive with parameters of type LdapURL Modifier and Type Method Description static LdapURL
LdapURL. copy(LdapURL ldapURL)
Returns a new ldap URL initialized with the supplied URL.void
AbstractConnectionStrategy. failure(LdapURL url)
void
ConnectionStrategy. failure(LdapURL url)
Indicates the supplied URL could not be connected to.void
LdapURLActivatorService. registerUrl(LdapURL url)
Registers an LDAP URL to be tested for activation.void
AbstractConnectionStrategy. success(LdapURL url)
void
ConnectionStrategy. success(LdapURL url)
Indicates the supplied URL was successfully connected to.Method parameters in org.ldaptive with type arguments of type LdapURL Modifier and Type Method Description void
AbstractConnectionStrategy. initialize(String urls, Predicate<LdapURL> condition)
void
ConnectionStrategy. initialize(String urls, Predicate<LdapURL> activateCondition)
Prepare this strategy for use.protected void
LdapURLSet. populate(List<LdapURL> ldapUrls)
Populates this set with a list of URLs in the order produced byConnectionStrategy.populate(String, LdapURLSet)
.void
AbstractConnectionStrategy. setRetryCondition(Predicate<LdapURL> condition)
Sets the retry condition which determines whether an attempt should be made to activate a URL.Constructor parameters in org.ldaptive with type arguments of type LdapURL Constructor Description ActivePassiveConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function)
Creates a new active passive connection strategy.ActivePassiveConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function)
Creates a new active passive connection strategy.DefaultLdapURLIterator(List<LdapURL> urls)
Creates a new default LDAP URL iterator.DnsResolverConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function)
Creates a new DNS connection strategy.DnsResolverConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function)
Creates a new DNS connection strategy.DnsResolverConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function, Duration ttl)
Creates a new DNS resolver connection strategy.DnsResolverConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function, Duration ttl)
Creates a new DNS resolver connection strategy.RoundRobinConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function)
Creates a new round robin connection strategy.RoundRobinConnectionStrategy(Function<List<LdapURL>,Iterator<LdapURL>> function)
Creates a new round robin connection strategy. -
Uses of LdapURL in org.ldaptive.dns
Methods in org.ldaptive.dns that return LdapURL Modifier and Type Method Description LdapURL
SRVRecord. getLdapURL()
Returns the target properly formatted as an LDAP URL. -
Uses of LdapURL in org.ldaptive.referral
Methods in org.ldaptive.referral with parameters of type LdapURL Modifier and Type Method Description protected abstract Q
AbstractFollowReferralHandler. createReferralRequest(LdapURL url)
Creates a new request for this type of referral.protected SearchRequest
FollowSearchReferralHandler. createReferralRequest(LdapURL url)
protected SearchRequest
FollowSearchResultReferenceHandler. createReferralRequest(LdapURL url)
-
Uses of LdapURL in org.ldaptive.transport
Methods in org.ldaptive.transport with parameters of type LdapURL Modifier and Type Method Description protected abstract void
TransportConnection. open(LdapURL url)
Attempt to open a connection to the supplied LDAP URL.protected abstract boolean
TransportConnection. test(LdapURL url)
Determine whether the supplied URL is acceptable for use. -
Uses of LdapURL in org.ldaptive.transport.netty
Fields in org.ldaptive.transport.netty declared as LdapURL Modifier and Type Field Description private LdapURL
NettyConnection. ldapURL
URL derived from the connection strategy.Methods in org.ldaptive.transport.netty that return LdapURL Modifier and Type Method Description LdapURL
NettyConnection. getLdapURL()
Methods in org.ldaptive.transport.netty with parameters of type LdapURL Modifier and Type Method Description protected void
NettyConnection. open(LdapURL url)
private void
NettyConnection. openInitialize(LdapURL url)
Initializes this connection for use after it has been established.protected boolean
NettyConnection. test(LdapURL url)
-