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
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 java.util.function.Predicate<LdapURL>
AbstractConnectionStrategy. getActivateCondition()
java.util.function.Predicate<LdapURL>
ConnectionStrategy. getActivateCondition()
Returns the condition used to activate connections.java.util.List<LdapURL>
LdapURLSet. getActiveUrls()
Returns the active URLs.java.util.List<LdapURL>
LdapURLActivatorService. getInactiveUrls()
Returns the list of inactive urls.java.util.List<LdapURL>
LdapURLSet. getInactiveUrls()
Returns the inactive URLs.java.util.function.Predicate<LdapURL>
AbstractConnectionStrategy. getRetryCondition()
java.util.function.Predicate<LdapURL>
ConnectionStrategy. getRetryCondition()
Returns the condition used to determine whether to attempt to activate a connection.java.util.List<LdapURL>
LdapURLSet. getUrls()
java.util.Iterator<LdapURL>
ActivePassiveConnectionStrategy. iterator()
java.util.Iterator<LdapURL>
DnsResolverConnectionStrategy. iterator()
java.util.Iterator<LdapURL>
DnsSrvConnectionStrategy. iterator()
Returns a list of URLs retrieved from DNS SRV records.java.util.Iterator<LdapURL>
RandomConnectionStrategy. iterator()
java.util.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(java.lang.String urls, java.util.function.Predicate<LdapURL> condition)
void
ConnectionStrategy. initialize(java.lang.String urls, java.util.function.Predicate<LdapURL> activateCondition)
Prepare this strategy for use.protected void
LdapURLSet. populate(java.util.List<LdapURL> ldapUrls)
Populates this set with a list of URLs in the order produced byConnectionStrategy.populate(String, LdapURLSet)
.void
AbstractConnectionStrategy. setRetryCondition(java.util.function.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(java.util.function.Function<java.util.List<LdapURL>,java.util.Iterator<LdapURL>> function)
Creates a new active passive connection strategy.ActivePassiveConnectionStrategy(java.util.function.Function<java.util.List<LdapURL>,java.util.Iterator<LdapURL>> function)
Creates a new active passive connection strategy.DefaultLdapURLIterator(java.util.List<LdapURL> urls)
Creates a new default LDAP URL iterator.DnsResolverConnectionStrategy(java.util.function.Function<java.util.List<LdapURL>,java.util.Iterator<LdapURL>> function)
Creates a new DNS connection strategy.DnsResolverConnectionStrategy(java.util.function.Function<java.util.List<LdapURL>,java.util.Iterator<LdapURL>> function)
Creates a new DNS connection strategy.DnsResolverConnectionStrategy(java.util.function.Function<java.util.List<LdapURL>,java.util.Iterator<LdapURL>> function, java.time.Duration ttl)
Creates a new DNS resolver connection strategy.DnsResolverConnectionStrategy(java.util.function.Function<java.util.List<LdapURL>,java.util.Iterator<LdapURL>> function, java.time.Duration ttl)
Creates a new DNS resolver connection strategy.RoundRobinConnectionStrategy(java.util.function.Function<java.util.List<LdapURL>,java.util.Iterator<LdapURL>> function)
Creates a new round robin connection strategy.RoundRobinConnectionStrategy(java.util.function.Function<java.util.List<LdapURL>,java.util.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
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)
protected boolean
NettyConnection. test(LdapURL url)
-