Class SortControlExchange

java.lang.Object
org.springframework.ldap.control.SortControlExchange
All Implemented Interfaces:
ControlExchange<SortControl, SortResponseControl>

public class SortControlExchange extends Object implements ControlExchange<SortControl, SortResponseControl>
A ControlExchange implementation for managing LDAP server-side sort request and response controls.

This class pairs a SortControl request with its corresponding SortResponseControl response. The sort control requests that search results be sorted by the server, and the response control indicates whether the sort was successful and provides result codes if there were errors.

Instances of this class are immutable. The withResponse(SortResponseControl) method returns a new instance with the updated response control.

Since:
4.1
See Also: