|
||||||||||
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(String url)
Adds an LDAPv3 URL to this Referral. |
boolean |
equals(Object obj)
Compares this Referral implementation to see if it is the same as another. |
Collection |
getLdapUrls()
Gets an unmodifiable set of alternative referral urls. |
void |
removeLdapUrl(String url)
Removes an LDAPv3 URL to this Referral. |
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 Collection getLdapUrls()
getLdapUrls
in interface Referral
public void addLdapUrl(String url)
addLdapUrl
in interface Referral
url
- the LDAPv3 URL to addpublic void removeLdapUrl(String url)
removeLdapUrl
in interface Referral
url
- the LDAPv3 URL to removepublic boolean equals(Object obj)
equals
in class Object
obj
- the object to compare this ReferralImpl to
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |