|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.model.message.controls.OpaqueControl
public final class OpaqueControl
A final Control implementation intended specifically for handling
controls who's values cannot be encoded or decoded by the codec service.
This situation results when no Control factory is found to be
registered for this control's OID. Hence additional opaque value handling
methods are included to manage the opaque control value.
| Constructor Summary | |
|---|---|
OpaqueControl(String oid)
Creates a Control with a specific OID. |
|
OpaqueControl(String oid,
boolean criticality)
Creates a Control with a specific OID, and criticality set. |
|
| Method Summary | |
|---|---|
byte[] |
getEncodedValue()
|
boolean |
hasEncodedValue()
Tells if the control has a stored value. |
void |
setEncodedValue(byte[] value)
Stores an opaque value into the control. |
| Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl |
|---|
equals, getOid, hashCode, isCritical, setCritical, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Control |
|---|
getOid, isCritical, setCritical |
| Constructor Detail |
|---|
public OpaqueControl(String oid)
oid - The OID of this Control.
public OpaqueControl(String oid,
boolean criticality)
oid - The OID of this Control.criticality - true if this Control is critical, false otherwise.| Method Detail |
|---|
public byte[] getEncodedValue()
public void setEncodedValue(byte[] value)
value - The opaque value to storepublic boolean hasEncodedValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||