public class AdDirSyncResponseImpl extends org.apache.directory.api.ldap.model.message.controls.AbstractControl implements AdDirSyncResponse
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
cookie
The DirSync cookie
|
private Set<AdDirSyncResponseFlag> |
flags
Flags used to control return values (client-to-server) or indicate that there are more data to return (server-to-client)
|
private int |
maxReturnLength
The maximum number of attributes to return
|
OID| Constructor and Description |
|---|
AdDirSyncResponseImpl()
Creates an instance of the DirSync control
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFlag(AdDirSyncResponseFlag flag) |
boolean |
equals(Object other) |
byte[] |
getCookie() |
Set<AdDirSyncResponseFlag> |
getFlags() |
int |
getMaxReturnLength() |
int |
hashCode() |
void |
removeFlag(AdDirSyncResponseFlag flag) |
void |
setCookie(byte[] cookie) |
void |
setFlags(Set<AdDirSyncResponseFlag> flags) |
void |
setMaxReturnLength(int maxReturnLength) |
String |
toString() |
getOid, isCritical, setCriticalprivate Set<AdDirSyncResponseFlag> flags
private int maxReturnLength
private byte[] cookie
public AdDirSyncResponseImpl()
public Set<AdDirSyncResponseFlag> getFlags()
getFlags in interface AdDirSyncResponsepublic void setFlags(Set<AdDirSyncResponseFlag> flags)
setFlags in interface AdDirSyncResponseflags - The flags to be set. See EnumSet for how to generate EnumSets.public void addFlag(AdDirSyncResponseFlag flag)
addFlag in interface AdDirSyncResponseflag - The flag to be added to the current collection of flags.public void removeFlag(AdDirSyncResponseFlag flag)
removeFlag in interface AdDirSyncResponseflag - The flag to be removed from the current collection of flags.public int getMaxReturnLength()
getMaxReturnLength in interface AdDirSyncResponsepublic void setMaxReturnLength(int maxReturnLength)
setMaxReturnLength in interface AdDirSyncResponsemaxReturnLength - The maximum length of attributes to be returnedpublic byte[] getCookie()
getCookie in interface AdDirSyncResponsepublic void setCookie(byte[] cookie)
setCookie in interface AdDirSyncResponsecookie - The cookie to send to the server. It's the value found in the response control. Should be null
for the first control.public int hashCode()
hashCode in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.hashCode()public boolean equals(Object other)
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()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.