com.jalios.rest.client
Class StoredCookie

java.lang.Object
  extended by com.jalios.rest.client.StoredCookie

public class StoredCookie
extends Object

Encapsulation of a Restlet Cookie in a Rest Client Session. It is suppose to add behaviour of a Stored Cookie, that may be removed after a while.

Since:
JCMS-6.0
Author:
dissert

Constructor Summary
StoredCookie(org.restlet.data.Cookie cookie, int maxAge)
           
 
Method Summary
 org.restlet.data.Cookie getCookie()
           
 boolean isTooOld()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoredCookie

public StoredCookie(org.restlet.data.Cookie cookie,
                    int maxAge)
Method Detail

getCookie

public org.restlet.data.Cookie getCookie()

isTooOld

public boolean isTooOld()


Copyright © 2001-2007 Jalios SA. All Rights Reserved.