public class SortRequestControl extends AbstractControl implements RequestControl
SortKeyList ::= SEQUENCE OF SEQUENCE {
attributeType AttributeDescription,
orderingRule [0] MatchingRuleId OPTIONAL,
reverseOrder [1] BOOLEAN DEFAULT FALSE }
| Modifier and Type | Field and Description |
|---|---|
static String |
OID
OID of this control.
|
logger| Constructor and Description |
|---|
SortRequestControl()
Default constructor.
|
SortRequestControl(SortKey[] keys)
Creates a new sort request control.
|
SortRequestControl(SortKey[] keys,
boolean critical)
Creates a new sort request control.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode()
Provides the BER encoding of this control.
|
SortKey[] |
getSortKeys()
Returns the sort keys.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setSortKeys(SortKey[] keys)
Sets the sort keys.
|
String |
toString() |
equals, getCriticality, getOIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticality, getOIDpublic static final String OID
public SortRequestControl()
public SortRequestControl(SortKey[] keys)
keys - sort keyspublic SortRequestControl(SortKey[] keys, boolean critical)
keys - sort keyscritical - whether this control is criticalpublic SortKey[] getSortKeys()
public void setSortKeys(SortKey[] keys)
keys - sort keyspublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic byte[] encode()
RequestControlencode in interface RequestControlCopyright © 2023. All rights reserved.