public class SyncRequestValueImpl extends AbstractControl implements SyncRequestValue
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.
OID
Constructor and Description |
---|
SyncRequestValueImpl()
Creates a new instance of SyncRequestValueImpl.
|
SyncRequestValueImpl(boolean isCritical)
Creates a new instance of SyncRequestValueImpl.
|
Modifier and Type | Method and Description |
---|---|
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()
Return a String representing a Control
|
getOid, isCritical, setCritical
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getOid, isCritical, setCritical
public SyncRequestValueImpl()
public SyncRequestValueImpl(boolean isCritical)
isCritical
- The critical flagpublic byte[] getCookie()
getCookie
in interface SyncRequestValue
public void setCookie(byte[] cookie)
setCookie
in interface SyncRequestValue
cookie
- the cookie to setpublic SynchronizationModeEnum getMode()
getMode
in interface SyncRequestValue
public void setMode(SynchronizationModeEnum mode)
setMode
in interface SyncRequestValue
public boolean isReloadHint()
isReloadHint
in interface SyncRequestValue
public void setReloadHint(boolean reloadHint)
setReloadHint
in interface SyncRequestValue
reloadHint
- the reloadHint to setpublic int hashCode()
hashCode
in class AbstractControl
Object.hashCode()
public boolean equals(Object o)
equals
in class AbstractControl
Object.equals(Object)
public String toString()
AbstractControl
toString
in class AbstractControl
Object.toString()
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.