org.apache.directory.api.ldap.model.message
Interface Control

All Known Subinterfaces:
Cascade, EntryChange, ManageDsaIT, PagedResults, PersistentSearch, Subentries
All Known Implementing Classes:
AbstractControl, CascadeImpl, EntryChangeImpl, LdifControl, ManageDsaITImpl, OpaqueControl, PagedResultsImpl, PersistentSearchImpl, 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
 String getOid()
           
 boolean isCritical()
          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 Detail

getOid

String getOid()
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.


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.