|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.SearchReference
public class SearchReference
Simple bean representing a search reference.
| Constructor Summary | |
|---|---|
SearchReference(int id,
ResponseControl[] c,
Collection<String> urls)
Creates a search reference. |
|
SearchReference(int id,
ResponseControl[] c,
String... url)
Creates a search reference. |
|
| Method Summary | |
|---|---|
ResponseControl |
getControl(String oid)
Returns the first response control with the supplied OID for this response message. |
ResponseControl[] |
getControls()
Returns the controls for this message. |
int |
getMessageId()
Returns the message ID for this response message. |
String[] |
getReferralUrls()
Returns the referral urls for this search reference. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SearchReference(int id,
ResponseControl[] c,
String... url)
id - message idc - response controlsurl - referral urls
public SearchReference(int id,
ResponseControl[] c,
Collection<String> urls)
id - message idc - response controlsurls - referral urls| Method Detail |
|---|
public String[] getReferralUrls()
public ResponseControl[] getControls()
getControls in interface Message<ResponseControl>public ResponseControl getControl(String oid)
getControl in interface ResponseMessageoid - of the response control to return
public int getMessageId()
getMessageId in interface ResponseMessagepublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||