|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionCookie
Session Cookie... Mostly an adaption of Play1's excellent cookie system that in turn is based on the new client side rails cookies.
Method Summary | |
---|---|
void |
clear()
|
String |
get(String key)
Returns the value of the key or null. |
String |
getAuthenticityToken()
|
Map<String,String> |
getData()
|
String |
getId()
|
void |
init(Context context)
|
boolean |
isEmpty()
Returns true if the session is empty, e.g. does not contain anything else than the timestamp key. |
void |
put(String key,
String value)
|
String |
remove(String key)
Removes the value of the key and returns the value or null. |
void |
save(Context context)
|
Method Detail |
---|
void init(Context context)
String getId()
Map<String,String> getData()
String getAuthenticityToken()
void save(Context context)
void put(String key, String value)
String get(String key)
key
-
String remove(String key)
key
-
void clear()
boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |