com.wewebu.ow.server.util.paramcodec
Class OwCookieStoreCodec.OwTimedCookie
java.lang.Object
com.wewebu.ow.server.util.paramcodec.OwCookieStoreCodec.OwTimedCookie
- Enclosing class:
- OwCookieStoreCodec
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwCookieStoreCodec.OwTimedCookie
public OwCookieStoreCodec.OwTimedCookie(String cookieName_p,
long expirationTime_p)
- Constructor
- Parameters:
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 UTC
getCookieName
public String getCookieName()
getExpirationTime
public long getExpirationTime()
- Returns:
- the expiration time as difference,
measured in milliseconds, between the current
time and midnight, January 1, 1970 UTC
isExipiredAt
public boolean isExipiredAt(long time_p)
- Parameters:
time_p
-
- Returns:
true
if this cookie is expired at the given time value
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.