public interface Control
Modifier and Type | Method and Description |
---|---|
String |
getOid() |
byte[] |
getValue()
Returns the encoded value for this Control
|
boolean |
hasValue()
Tells if the Control has a value or not
|
boolean |
isCritical()
Tells if the control is critical or not.
|
void |
setCritical(boolean isCritical)
Sets the critical flag which determines whether or not this control is
critical for the correct operation of a request or response message.
|
void |
setValue(byte[] value)
Stores the encoded value for this Control
|
String getOid()
boolean isCritical()
true/code> if the control is critical, false
otherwise
void setCritical(boolean isCritical)
isCritical
- true if the control is critical false otherwise.byte[] getValue()
void setValue(byte[] value)
value
- The encoded valueboolean hasValue()
true
if th Control has a value, even containing no bytes.Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.