Package org.opends.server.controls
Class SubtreeDeleteControl
- java.lang.Object
-
- org.opends.server.types.Control
-
- org.opends.server.controls.SubtreeDeleteControl
-
public class SubtreeDeleteControl extends Control
This class implements the subtree delete control defined in draft-armijo-ldap-treedelete. It makes it possible for clients to delete subtrees of entries.
-
-
Field Summary
Fields Modifier and Type Field Description static ControlDecoder<SubtreeDeleteControl>DECODERThe Control Decoder that can be used to decode this control.
-
Constructor Summary
Constructors Constructor Description SubtreeDeleteControl(boolean isCritical)Creates a new subtree delete control.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtoString(StringBuilder buffer)Appends a string representation of this control to the provided buffer.protected voidwriteValue(ASN1Writer writer)Writes this control's value to an ASN.1 writer.-
Methods inherited from class org.opends.server.types.Control
getOID, isCritical, toString, write
-
-
-
-
Field Detail
-
DECODER
public static final ControlDecoder<SubtreeDeleteControl> DECODER
The Control Decoder that can be used to decode this control.
-
-
Method Detail
-
writeValue
protected void writeValue(ASN1Writer writer) throws IOException
Description copied from class:ControlWrites this control's value to an ASN.1 writer. The value (if any) must be written as an ASN1OctetString.- Specified by:
writeValuein classControl- Parameters:
writer- The ASN.1 writer to use.- Throws:
IOException- If a problem occurs while writing to the stream.
-
toString
public void toString(StringBuilder buffer)
Description copied from class:ControlAppends a string representation of this control to the provided buffer.
-
-