|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.extras.controls.SyncRequestValueImpl
public class SyncRequestValueImpl
A syncRequestValue object, as defined in RFC 4533 :
2.2. Sync Request Control
The Sync Request Control is an LDAP Control [RFC4511] where the
controlType is the object identifier 1.3.6.1.4.1.4203.1.9.1.1 and the
controlValue, an OCTET STRING, contains a BER-encoded
syncRequestValue. The criticality field is either TRUE or FALSE.
syncRequestValue ::= SEQUENCE {
mode ENUMERATED {
-- 0 unused
refreshOnly (1),
-- 2 reserved
refreshAndPersist (3)
},
cookie syncCookie OPTIONAL,
reloadHint BOOLEAN DEFAULT FALSE
}
The Sync Request Control is only applicable to the SearchRequest
Message.
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.api.ldap.extras.controls.SyncRequestValue |
|---|
OID |
| Constructor Summary | |
|---|---|
SyncRequestValueImpl()
Creates a new instance of SyncRequestValueImpl. |
|
SyncRequestValueImpl(boolean isCritical)
Creates a new instance of SyncRequestValueImpl. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
byte[] |
getCookie()
|
SynchronizationModeEnum |
getMode()
|
int |
hashCode()
|
boolean |
isReloadHint()
|
void |
setCookie(byte[] cookie)
|
void |
setMode(SynchronizationModeEnum mode)
|
void |
setReloadHint(boolean reloadHint)
|
String |
toString()
|
| Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl |
|---|
getOid, isCritical, setCritical |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Control |
|---|
getOid, isCritical, setCritical |
| Constructor Detail |
|---|
public SyncRequestValueImpl()
public SyncRequestValueImpl(boolean isCritical)
isCritical - The critical flag| Method Detail |
|---|
public byte[] getCookie()
getCookie in interface SyncRequestValuepublic void setCookie(byte[] cookie)
setCookie in interface SyncRequestValuecookie - the cookie to setpublic SynchronizationModeEnum getMode()
getMode in interface SyncRequestValuepublic void setMode(SynchronizationModeEnum mode)
setMode in interface SyncRequestValuepublic boolean isReloadHint()
isReloadHint in interface SyncRequestValuepublic void setReloadHint(boolean reloadHint)
setReloadHint in interface SyncRequestValuereloadHint - the reloadHint to setpublic int hashCode()
hashCode in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.hashCode()public boolean equals(Object o)
equals in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.equals(Object)public String toString()
toString in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||