|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Control
Protocol request and response altering control interface. Any number of controls may be associated with a protocol message.
| Field Summary |
|---|
| Fields inherited from interface javax.naming.ldap.Control |
|---|
CRITICAL, NONCRITICAL |
| Method Summary | |
|---|---|
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 interface javax.naming.ldap.Control |
|---|
getEncodedValue, getID |
| Method Detail |
|---|
java.lang.String getType()
void setType(java.lang.String oid)
oid - the OID of this Control.byte[] getValue()
void setValue(byte[] value)
value - ASN.1 BER encoded value as binary data.boolean isCritical()
isCritical in interface javax.naming.ldap.Controlvoid setCritical(boolean isCritical)
isCritical - true if the control is critical false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||