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 |
|---|---|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
private SortKey[] |
sortKeys
sort keys.
|
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.
|
boolean |
equals(Object o) |
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() |
getCriticality, getOIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticality, getOIDpublic static final String OID
private static final int HASH_CODE_SEED
private SortKey[] sortKeys
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 boolean equals(Object o)
equals in class AbstractControlpublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic byte[] encode()
RequestControlencode in interface RequestControlCopyright © 2003-2019 Virginia Tech. All Rights Reserved.