Class PagedResultsCookie

java.lang.Object
org.springframework.ldap.control.PagedResultsCookie

public class PagedResultsCookie extends Object
Wrapper class for the cookie returned when using the PagedResultsControl.
  • Constructor Details

    • PagedResultsCookie

      public PagedResultsCookie(byte[] cookie)
      Constructor.
      Parameters:
      cookie - the cookie returned by a PagedResultsResponseControl.
  • Method Details

    • getCookie

      public byte[] getCookie()
      Get the cookie.
      Returns:
      the cookie. This value may be null, indicating that there are no more requests, or that the control wasn't supported by the server.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object