| javax.naming.ldap.Control
All known Subclasses: javax.naming.ldap.BasicControl,
Control | public interface Control extends Serializable(Code) | | A Control corresponds to a control used in LDAPv3. Controls
are specified in RFC2251. A control provides extra information related to an
operation on the server. It may be a request control which is sent when a
request is made to the LDAPv3 server or it may be a response control which is
received from the LDAPv3 server.
|
Field Summary | |
final public static boolean | CRITICAL The constant indicating that a Control is critical. | final public static boolean | NONCRITICAL The constant indicating that a Control is not critical. |
Method Summary | |
byte[] | getEncodedValue() Returns the value of this Control instance encoded using
ASN.1 Basic Encoding Rules (BER). | String | getID() Returns the object ID assigned to this Control instance. | boolean | isCritical() Indicates whether this Control instance is critical. |
CRITICAL | final public static boolean CRITICAL(Code) | | The constant indicating that a Control is critical.
|
NONCRITICAL | final public static boolean NONCRITICAL(Code) | | The constant indicating that a Control is not critical.
|
getEncodedValue | byte[] getEncodedValue()(Code) | | Returns the value of this Control instance encoded using
ASN.1 Basic Encoding Rules (BER).
the encoded value of this Control instance |
getID | String getID()(Code) | | Returns the object ID assigned to this Control instance.
(see RFC2251).
the object ID assigned to the control |
isCritical | boolean isCritical()(Code) | | Indicates whether this Control instance is critical.
true if critical, otherwise false |
|
|