Spring LDAP

org.springframework.ldap.control
Class PagedResultsCookie

java.lang.Object
  extended by 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
PagedResultsCookie(byte[] cookie)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 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.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Spring LDAP