java.io.Serializable, java.lang.Cloneablepublic class LDAPVirtualListResponse extends LDAPControl
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
VIRTUALLISTRESPONSE |
m_critical, m_value, MANAGEDSAIT, PWEXPIRED, PWEXPIRING| Constructor | Description |
|---|---|
LDAPVirtualListResponse(byte[] value) |
Constructs a new
LDAPVirtualListResponse object. |
LDAPVirtualListResponse(java.lang.String oid,
boolean critical,
byte[] value) |
Contructs an
LDAPVirtualListResponse object. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getContentCount() |
Gets the size of the virtual result set.
|
java.lang.String |
getContext() |
Gets the context cookie, if any.
|
int |
getFirstPosition() |
Gets the index of the first entry returned.
|
int |
getResultCode() |
Gets the result code.
|
static LDAPVirtualListResponse |
parseResponse(LDAPControl[] controls) |
Deprecated.
LDAPVirtualListResponse controls are now automatically
instantiated.
|
java.lang.String |
toString() |
Return a string representation of the control for debugging
|
clone, createControl, flattenBER, getID, getValue, isCritical, lookupControlClass, newInstance, registerpublic static final java.lang.String VIRTUALLISTRESPONSE
public LDAPVirtualListResponse(java.lang.String oid,
boolean critical,
byte[] value)
throws LDAPException
LDAPVirtualListResponse object.oid - this parameter must be equal to
LDAPVirtualListResponse.VIRTUALLISTRESPONSE or an
LDAPExceptionis throwncritical - true if this control is criticalvalue - the value associated with this controlLDAPException - If oid is not
LDAPVirtualListResponse.VIRTUALLISTRESPONSE.LDAPControl.register(java.lang.String, java.lang.Class)public LDAPVirtualListResponse(byte[] value)
LDAPVirtualListResponse object.value - a BER encoded byte arrayLDAPControlpublic int getContentCount()
public int getFirstPosition()
public int getResultCode()
public java.lang.String getContext()
public static LDAPVirtualListResponse parseResponse(LDAPControl[] controls)
controls - an array of controls that may include a VLV
results controlpublic java.lang.String toString()
LDAPControltoString in class LDAPControl