org.ldaptive.control.util
Class DefaultCookieManager

java.lang.Object
  extended by org.ldaptive.control.util.DefaultCookieManager
All Implemented Interfaces:
CookieManager

public class DefaultCookieManager
extends Object
implements CookieManager

Cookie manager that stores a cookie in memory.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Constructor Summary
DefaultCookieManager()
          Creates a new default cookie manager.
DefaultCookieManager(byte[] b)
          Creates a new default cookie manager.
 
Method Summary
 byte[] readCookie()
          Read and return a cookie from storage.
 void writeCookie(byte[] b)
          Writes a cookie to storage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCookieManager

public DefaultCookieManager()
Creates a new default cookie manager.


DefaultCookieManager

public DefaultCookieManager(byte[] b)
Creates a new default cookie manager.

Parameters:
b - control cookie
Method Detail

readCookie

public byte[] readCookie()
Read and return a cookie from storage.

Specified by:
readCookie in interface CookieManager
Returns:
cookie read from storage

writeCookie

public void writeCookie(byte[] b)
Writes a cookie to storage.

Specified by:
writeCookie in interface CookieManager
Parameters:
b - to write


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.