|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.ControlImpl
Lockable Control implementation.
Field Summary |
Fields inherited from interface javax.naming.ldap.Control |
CRITICAL, NONCRITICAL |
Constructor Summary | |
ControlImpl()
|
Method Summary | |
java.lang.String |
getID()
Retrieves the object identifier assigned for the LDAP control. |
java.lang.String |
getType()
Gets the OID of the Control to identify the control type. |
byte[] |
getValue()
Gets the ASN.1 BER encoded value of the control which would have its own custom ASN.1 defined structure based on the nature of the control. |
boolean |
isCritical()
Determines whether or not this control is critical for the correct operation of a request or response message. |
void |
setCritical(boolean isCritical)
Sets the criticil flag which determines whether or not this control is critical for the correct operation of a request or response message. |
void |
setType(java.lang.String oid)
Sets the OID of the Control to identify the control type. |
void |
setValue(byte[] value)
Sets the ASN.1 BER encoded value of the control which would have its own custom ASN.1 defined structure based on the nature of the control. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.naming.ldap.Control |
getEncodedValue |
Constructor Detail |
public ControlImpl()
Method Detail |
public boolean isCritical()
isCritical
in interface Control
public void setCritical(boolean isCritical)
setCritical
in interface Control
isCritical
- true if the control is critical false otherwise.public java.lang.String getType()
getType
in interface Control
public void setType(java.lang.String oid)
setType
in interface Control
oid
- the OID of this Control.public byte[] getValue()
getValue
in interface Control
public void setValue(byte[] value)
setValue
in interface Control
value
- ASN.1 BER encoded value as binary data.public java.lang.String getID()
getID
in interface javax.naming.ldap.Control
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |