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 TypeMethodDescriptiongetOid()Get the control's OIDbooleanTells if the control is critical or not.voidsetCritical(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
-
isCritical
boolean isCritical()Tells if the control is critical or not.- Returns:
trueif the control is critical,falseotherwise
-
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.
-