Class PagedResultsCookie


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

      Constructors 
      Constructor Description
      PagedResultsCookie​(byte[] cookie)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      byte[] getCookie()
      Get the cookie.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PagedResultsCookie

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

      • 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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object