Class RelaxControl

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

public class RelaxControl extends AbstractControl implements RequestControl
Relax request control. See https://tools.ietf.org/html/draft-zeilenga-ldap-relax-03.
  • Field Details

  • Constructor Details

    • RelaxControl

      public RelaxControl()
      Default constructor.
  • 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