Request that the server return results in batches of a specific size. See RFC 2696. This control is often used to work around server result size limits.
Using the Paged Results Client
The PagedResultClient encapsulates the cookie management associated with this control and exposes convenient methods for common operations. Note that you must use a SingleConnectionFactory with this client as each search request must occur on the same connection. In addition, the connection factory should not be used for other purposes while in use by the PagedResultsClient.
Perform paged search to completion
Inspect each response myself
Using the PagedResultsControl
If you need fine grain control over this operation, this sample code illustrates how to use the PagedResultsControl directly with a SearchOperation.
Ldaptive is an open source project developed and supported by
at Virginia Tech