|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.AbstractControl
org.ldaptive.control.SyncRequestControl
public class SyncRequestControl
Request control for ldap content synchronization. See RFC 4533. Control is defined as:
syncRequestValue ::= SEQUENCE {
mode ENUMERATED {
-- 0 unused
refreshOnly (1),
-- 2 reserved
refreshAndPersist (3)
},
cookie syncCookie OPTIONAL,
reloadHint BOOLEAN DEFAULT FALSE
}
| Nested Class Summary | |
|---|---|
static class |
SyncRequestControl.Mode
Types of request modes. |
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
SyncRequestControl()
Default constructor. |
|
SyncRequestControl(SyncRequestControl.Mode mode)
Creates a new sync request control. |
|
SyncRequestControl(SyncRequestControl.Mode mode,
boolean critical)
Creates a new sync request control. |
|
SyncRequestControl(SyncRequestControl.Mode mode,
byte[] value,
boolean critical)
Creates a new sync request control. |
|
SyncRequestControl(SyncRequestControl.Mode mode,
byte[] value,
boolean hint,
boolean critical)
Creates a new sync request control. |
|
| Method Summary | |
|---|---|
byte[] |
encode()
Provides the BER encoding of this control. |
boolean |
equals(Object o)
|
byte[] |
getCookie()
Returns the sync request cookie. |
boolean |
getReloadHint()
Returns the reload hint. |
SyncRequestControl.Mode |
getRequestMode()
Returns the request mode. |
int |
hashCode()
Returns the hash code for this object. |
void |
setCookie(byte[] value)
Sets the sync request cookie. |
void |
setReloadHint(boolean b)
Sets the reload hint. |
void |
setRequestMode(SyncRequestControl.Mode mode)
Sets the request mode. |
String |
toString()
|
| Methods inherited from class org.ldaptive.control.AbstractControl |
|---|
getCriticality, getOID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ldaptive.control.Control |
|---|
getCriticality, getOID |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public SyncRequestControl()
public SyncRequestControl(SyncRequestControl.Mode mode)
mode - request mode
public SyncRequestControl(SyncRequestControl.Mode mode,
boolean critical)
mode - request modecritical - whether this control is critical
public SyncRequestControl(SyncRequestControl.Mode mode,
byte[] value,
boolean critical)
mode - request modevalue - sync request cookiecritical - whether this control is critical
public SyncRequestControl(SyncRequestControl.Mode mode,
byte[] value,
boolean hint,
boolean critical)
mode - request modevalue - sync request cookiehint - reload hintcritical - whether this control is critical| Method Detail |
|---|
public SyncRequestControl.Mode getRequestMode()
public void setRequestMode(SyncRequestControl.Mode mode)
mode - request modepublic byte[] getCookie()
public void setCookie(byte[] value)
value - sync request cookiepublic boolean getReloadHint()
public void setReloadHint(boolean b)
b - reload hintpublic boolean equals(Object o)
equals in class AbstractControlpublic int hashCode()
AbstractControl
hashCode in class AbstractControlpublic String toString()
toString in class Objectpublic byte[] encode()
encode in interface RequestControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||