Package org.ldaptive.control.util
Class SyncReplCookie
java.lang.Object
org.ldaptive.control.util.SyncReplCookie
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Class representing a Change Sequence Number. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SyncReplCookie.CSN
Cookie CSN.private final String
Cookie RID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCsn()
Returns the CSN.getRid()
Returns the RID.parseCookie
(String cookie) Parses the name/value pairs in the supplied cookie.
-
Field Details
-
rid
Cookie RID. -
csn
Cookie CSN.
-
-
Constructor Details
-
SyncReplCookie
Creates a new sync repl cookie.- Parameters:
cookie
- to parse
-
-
Method Details
-
getRid
Returns the RID.- Returns:
- cookie RID
-
getCsn
Returns the CSN.- Returns:
- cookie CSN
-
parseCookie
Parses the name/value pairs in the supplied cookie.- Parameters:
cookie
- to parse- Returns:
- map of name/value pairs
-