Control
interface. It represents an LDAPv3 Control as defined in RFC-2251.
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | criticality
The control's criticality. |
| protected String | id
The control's object identifier string. |
| private static final long | |
| protected byte[] | value
The control's ASN.1 BER encoded value. |
| Access | Constructor and Description |
|---|---|
| public | BasicControl(String
The control's object identifier string. id)Constructs a new instance of BasicControl. |
| public | BasicControl(String
The control's object identifier string. id, boolean The control's criticality. criticality, byte[] The control's ASN.1 BER encoded value.
May be null. value)Constructs a new instance of BasicControl. |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: A possibly null byte array representing the control's ASN.1 BER encoded value.Implements javax. Retrieves the control's ASN.1 BER encoded value. |
| public String | Returns: The non-null object identifier string.Implements javax. Retrieves the control's object identifier string. |
| public boolean | Returns: true if the control is critical; false otherwise.Implements javax. Determines the control's criticality. |
| criticality | back to summary |
|---|---|
| protected boolean criticality The control's criticality. | |
| id | back to summary |
|---|---|
| protected String id The control's object identifier string. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| value | back to summary |
|---|---|
| protected byte[] value The control's ASN.1 BER encoded value. | |
| BasicControl | back to summary |
|---|---|
| public BasicControl(String id) Constructs a new instance of BasicControl. It is a non-critical control.
| |
| BasicControl | back to summary |
|---|---|
| public BasicControl(String id, boolean criticality, byte[] value) Constructs a new instance of BasicControl.
| |
| getEncodedValue | back to summary |
|---|---|
| public byte[] getEncodedValue() Implements javax. Retrieves the control's ASN.1 BER encoded value. The result is the raw BER bytes including the tag and length of the control's value. It does not include the control's object identifier string or criticality.
| |
| getID | back to summary |
|---|---|
| public String getID() Implements javax. Retrieves the control's object identifier string.
| |
| isCritical | back to summary |
|---|---|
| public boolean isCritical() Implements javax. Determines the control's criticality.
| |