public class LDAPVirtualListResponse extends LDAPControl
VirtualListViewResponse ::= SEQUENCE {
targetPosition INTEGER (0 .. maxInt),
contentCount INTEGER (0 .. maxInt),
virtualListViewResult ENUMERATED {
success (0),
operatonsError (1),
timeLimitExceeded (3),
adminLimitExceeded (11),
insufficientAccessRights (50),
busy (51),
unwillingToPerform (53),
sortControlMissing (60),
offsetRangeError (61),
other (80)
},
contextID OCTET STRING OPTIONAL
}
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VIRTUALLISTRESPONSE |
m_critical, m_value, MANAGEDSAIT, PWEXPIRED, PWEXPIRING| Constructor and 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 and 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