@PublicAPI(stability=UNCOMMITTED, mayInstantiate=true, mayExtend=true, mayInvoke=true) public abstract class Control extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Control(String oid,
boolean isCritical)
Creates a new control with no value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOID()
Retrieves the OID for this control.
|
boolean |
isCritical()
Indicates whether this control should be considered critical in
processing the request.
|
String |
toString()
Retrieves a string representation of this control.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this control to the provided
buffer.
|
void |
write(org.forgerock.opendj.io.ASN1Writer writer)
Writes this control to an ASN.1 writer.
|
protected abstract void |
writeValue(org.forgerock.opendj.io.ASN1Writer writer)
Writes this control's value to an ASN.1 writer.
|
public final String getOID()
public final boolean isCritical()
true if this code should be considered
critical, or false if not.public final void write(org.forgerock.opendj.io.ASN1Writer writer) throws IOException
writer - The ASN.1 writer to use.IOException - If a problem occurs while writing to the
stream.protected abstract void writeValue(org.forgerock.opendj.io.ASN1Writer writer) throws IOException
writer - The ASN.1 writer to use.IOException - If a problem occurs while writing to the
stream.public void toString(StringBuilder buffer)
buffer - The buffer to which the information should be
appended.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.