Class SyncReplCookie


  • public class SyncReplCookie
    extends Object
    Class for parsing a sync repl cookie. See https://www.openldap.org/doc/admin23/syncrepl.html and https://www.openldap.org/faq/data/cache/1145.html
    • Constructor Detail

      • SyncReplCookie

        public SyncReplCookie​(String cookie)
        Creates a new sync repl cookie.
        Parameters:
        cookie - to parse
    • Method Detail

      • getRid

        public String getRid()
        Returns the RID.
        Returns:
        cookie RID
      • parseCookie

        private static Map<String,​String> parseCookie​(String cookie)
        Parses the name/value pairs in the supplied cookie.
        Parameters:
        cookie - to parse
        Returns:
        map of name/value pairs