protected static class OwCookieStoreCodec.OwTimedCookie extends Object
Inner cookie name class used to encapsulate a cookie name and its expiration time.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwCookieStoreCodec.OwTimedCookie(String cookieName_p,
long expirationTime_p)
Constructor
|
public OwCookieStoreCodec.OwTimedCookie(String cookieName_p, long expirationTime_p)
cookieName_p
- String name of the cookieexpirationTime_p
- long value representing time as difference,
measured in milliseconds, between the current
time and midnight, January 1, 1970 UTCpublic String getCookieName()
public long getExpirationTime()
public boolean isExipiredAt(long time_p)
time_p
- true
if this cookie is expired at the given time valueCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.