< prev index next >

src/java.naming/share/classes/javax/naming/ldap/Control.java

Print this page

        

*** 50,66 **** * @since 1.3 */ public interface Control extends java.io.Serializable { /** * Indicates a critical control. ! * The value of this constant is <tt>true</tt>. */ public static final boolean CRITICAL = true; /** * Indicates a non-critical control. ! * The value of this constant is <tt>false</tt>. */ public static final boolean NONCRITICAL = false; /** * Retrieves the object identifier assigned for the LDAP control. --- 50,66 ---- * @since 1.3 */ public interface Control extends java.io.Serializable { /** * Indicates a critical control. ! * The value of this constant is {@code true}. */ public static final boolean CRITICAL = true; /** * Indicates a non-critical control. ! * The value of this constant is {@code false}. */ public static final boolean NONCRITICAL = false; /** * Retrieves the object identifier assigned for the LDAP control.
*** 73,83 **** * Determines the criticality of the LDAP control. * A critical control must not be ignored by the server. * In other words, if the server receives a critical control * that it does not support, regardless of whether the control * makes sense for the operation, the operation will not be performed ! * and an <tt>OperationNotSupportedException</tt> will be thrown. * @return true if this control is critical; false otherwise. */ public boolean isCritical(); /** --- 73,83 ---- * Determines the criticality of the LDAP control. * A critical control must not be ignored by the server. * In other words, if the server receives a critical control * that it does not support, regardless of whether the control * makes sense for the operation, the operation will not be performed ! * and an {@code OperationNotSupportedException} will be thrown. * @return true if this control is critical; false otherwise. */ public boolean isCritical(); /**
< prev index next >