Class EntryChangelogNotificationControl


  • public class EntryChangelogNotificationControl
    extends Control
    This class implements the ECL cookie control. It may be included in entries returned in response to a search or persistent search operation.
    • Constructor Detail

      • EntryChangelogNotificationControl

        public EntryChangelogNotificationControl​(boolean isCritical,
                                                 String cookie)
        Creates a new entry change notification control with the provided information.
        Parameters:
        isCritical - Indicates whether this control should be considered critical in processing the request.
        cookie - The provided cookie value.
    • Method Detail

      • writeValue

        public void writeValue​(ASN1Writer writer)
                        throws IOException
        Description copied from class: Control
        Writes this control's value to an ASN.1 writer. The value (if any) must be written as an ASN1OctetString.
        Specified by:
        writeValue in class Control
        Parameters:
        writer - The ASN.1 writer to use.
        Throws:
        IOException - If a problem occurs while writing to the stream.
      • getCookie

        public String getCookie()
        Retrieves the change type for this entry change notification control.
        Returns:
        The change type for this entry change notification control.
      • toString

        public void toString​(StringBuilder buffer)
        Description copied from class: Control
        Appends a string representation of this control to the provided buffer.
        Overrides:
        toString in class Control
        Parameters:
        buffer - The buffer to which the information should be appended.