org.springframework.ldap.control
Class PagedResultsCookie

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

public class PagedResultsCookie
extends java.lang.Object

Wrapper class for the cookie returned when using the PagedResultsControl.

Author:
Mattias Arthursson, Ulrik Sandberg

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

hashCode

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


Copyright � 2002-2006. All Rights Reserved.