Class StoredCookie


  • public class StoredCookie
    extends java.lang.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

      Constructors 
      Constructor Description
      StoredCookie​(org.restlet.data.Cookie cookie, int maxAge)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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()