org.springframework.ldap.control

## 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`.
  Author:
    Mattias Hellborg Arthursson, Ulrik Sandberg

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PagedResultsCookie(byte[] cookie)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(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(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`