ninja.session
Interface FlashCookie
- All Known Implementing Classes:
- FlashCookieImpl
public interface FlashCookie
Flash scope:
A client side cookie that can be used to transfer information from one request to another.
Stuff in a flash cookie gets deleted after the next request.
Please note also that flash cookies are not signed.
init
void init(Context context)
save
void save(Context context)
put
void put(String key,
String value)
put
void put(String key,
Object value)
now
void now(String key,
String value)
error
void error(String value,
Object... args)
success
void success(String value,
Object... args)
discard
void discard(String key)
discard
void discard()
keep
void keep(String key)
keep
void keep()
get
String get(String key)
remove
boolean remove(String key)
clearCurrentFlashCookieData
void clearCurrentFlashCookieData()
contains
boolean contains(String key)
toString
String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.