|
||||||||||
| 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
public class 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<java.lang.String> |
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<java.lang.String> getLdapUrls()
getLdapUrls in interface InternalReferralpublic void addLdapUrl(java.lang.String url)
addLdapUrl in interface InternalReferralurl - the LDAPv3 URL to addpublic void removeLdapUrl(java.lang.String url)
removeLdapUrl in interface InternalReferralurl - the LDAPv3 URL to removepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare this ReferralImpl to
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||