|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.ReferralImpl
A Referral implementation. For the time being this implementation uses a String representation for LDAPURLs. In the future an LdapUrl interface with default implementations will be used once a parser for an LdapUrl is created.
Constructor Summary | |
ReferralImpl()
|
Method Summary | |
void |
addLdapUrl(java.lang.String url)
Adds an LDAPv3 URL to this Referral. |
boolean |
equals(java.lang.Object obj)
Compares this Referral implementation to see if it is the same as another. |
java.util.Collection |
getLdapUrls()
Gets an unmodifiable set of alternative referral urls. |
void |
removeLdapUrl(java.lang.String url)
Removes an LDAPv3 URL to this Referral. |
java.lang.String |
toString()
Get a String representation of a Referral |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReferralImpl()
Method Detail |
public java.util.Collection getLdapUrls()
getLdapUrls
in interface Referral
public void addLdapUrl(java.lang.String url)
addLdapUrl
in interface Referral
url
- the LDAPv3 URL to addpublic void removeLdapUrl(java.lang.String url)
removeLdapUrl
in interface Referral
url
- the LDAPv3 URL to removepublic boolean equals(java.lang.Object obj)
obj
- the object to compare this ReferralImpl to
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |