jdk/src/share/classes/javax/naming/ldap/SortControl.java
changeset 18156 edb590d448c5
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
18155:889970e5b728 18156:edb590d448c5
    38  * supplied in the sort control and then returned to the requestor. If sorting
    38  * supplied in the sort control and then returned to the requestor. If sorting
    39  * is not supported at the server (and the sort control is marked as critical)
    39  * is not supported at the server (and the sort control is marked as critical)
    40  * then the search operation is not performed and an error is returned.
    40  * then the search operation is not performed and an error is returned.
    41  * <p>
    41  * <p>
    42  * The following code sample shows how the class may be used:
    42  * The following code sample shows how the class may be used:
    43  * <pre>
    43  * <pre>{@code
    44  *
    44  *
    45  *     // Open an LDAP association
    45  *     // Open an LDAP association
    46  *     LdapContext ctx = new InitialLdapContext();
    46  *     LdapContext ctx = new InitialLdapContext();
    47  *
    47  *
    48  *     // Activate sorting
    48  *     // Activate sorting
    83  *
    83  *
    84  *     // Close the LDAP association
    84  *     // Close the LDAP association
    85  *     ctx.close();
    85  *     ctx.close();
    86  *     ...
    86  *     ...
    87  *
    87  *
    88  * </pre>
    88  * }</pre>
    89  * <p>
    89  * <p>
    90  * This class implements the LDAPv3 Request Control for server-side sorting
    90  * This class implements the LDAPv3 Request Control for server-side sorting
    91  * as defined in
    91  * as defined in
    92  * <a href="http://www.ietf.org/rfc/rfc2891.txt">RFC 2891</a>.
    92  * <a href="http://www.ietf.org/rfc/rfc2891.txt">RFC 2891</a>.
    93  *
    93  *