Class TreeDeleteControl

java.lang.Object
org.ldaptive.control.AbstractControl
org.ldaptive.control.TreeDeleteControl
All Implemented Interfaces:
Control, RequestControl

public class TreeDeleteControl extends AbstractControl implements RequestControl
Request control for TreeDelete. See draft-armijo-ldap-treedelete.
  • Field Details

  • Constructor Details

    • TreeDeleteControl

      public TreeDeleteControl()
      Default constructor.
    • TreeDeleteControl

      public TreeDeleteControl(boolean critical)
      Creates a new tree delete control.
      Parameters:
      critical - whether this control is critical
  • Method Details

    • hasValue

      public boolean hasValue()
      Description copied from interface: RequestControl
      Returns whether the control has a value associated with it.
      Specified by:
      hasValue in interface RequestControl
      Returns:
      whether the control has a value
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractControl
    • hashCode

      public int hashCode()
      Description copied from class: AbstractControl
      Returns the hash code for this object.
      Specified by:
      hashCode in class AbstractControl
      Returns:
      hash code
    • encode

      public byte[] encode()
      Description copied from interface: RequestControl
      Provides the BER encoding of this control.
      Specified by:
      encode in interface RequestControl
      Returns:
      BER encoded request control