LDAP Clients can control the rate at which search results are returned from the directory server by using the simple paged results control extension defined in RFC2696.
To use this control extension, the LDAP client sends a search request with a simple paged results request control attached that has a client-requested page size (number of results per search request) and reads the results back from the directory server at a rate convenient to the client. The simple paged results control extension is useful for clients who may be limited in the resources available to them for processing results.
The shared technical note LDAP: Simple Paged Results Control Extension will be updated after 01-Jan-2012, and this article will be retired. The shared technical note contains information and the results of a demonstration of the Simple Paged Results Control Extension.
For sample code, see SimplePagedResultRequestControlDemo.java.