Class PagedResultsImpl

  • All Implemented Interfaces:
    Control, PagedResults

    public class PagedResultsImpl
    extends AbstractControl
    implements PagedResults
    A request/response control used to implement a simple paging of search results. This is an implementation of RFC 2696 : LDAP Control Extension for Simple Paged Results Manipulation
        This control is included in the searchRequest and searchResultDone
        messages as part of the controls field of the LDAPMessage, as defined
        in Section 4.1.12 of [LDAPv3]. The structure of this control is as
        follows:
    
     pagedResultsControl ::= SEQUENCE {
             controlType     1.2.840.113556.1.4.319,
             criticality     BOOLEAN DEFAULT FALSE,
             controlValue    searchControlValue
     }
     
     The searchControlValue is an OCTET STRING wrapping the BER-encoded
     version of the following SEQUENCE:
     
     realSearchControlValue ::= SEQUENCE {
             size            INTEGER (0..maxInt),
                                     -- requested page size from client
                                     -- result set size estimate from server
             cookie          OCTET STRING
     }
     
     
    Author:
    Apache Directory Project