Interface Control

All Known Subinterfaces:
Cascade, EntryChange, ManageDsaIT, PagedResults, PersistentSearch, ProxiedAuthz, SortRequest, SortResponse, Subentries
All Known Implementing Classes:
AbstractControl, CascadeImpl, EntryChangeImpl, LdifControl, ManageDsaITImpl, OpaqueControl, PagedResultsImpl, PersistentSearchImpl, ProxiedAuthzImpl, SortRequestImpl, SortResponseImpl, SubentriesImpl

public interface Control
Protocol request and response altering control interface. Any number of controls may be associated with a protocol message. Each control may be associated with a Request, a response, or both.
Author:
Apache Directory Project
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the control's OID
    boolean
    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.
  • Method Details

    • getOid

      String getOid()
      Get the control's OID
      Returns:
      The Control's OID
    • isCritical

      boolean isCritical()
      Tells if the control is critical or not.
      Returns:
      true if the control is critical, false otherwise
    • setCritical

      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. The default for this value should be false.
      Parameters:
      isCritical - true if the control is critical false otherwise.