Package io.javalin.http.util
Class CookieStore
-
- All Implemented Interfaces:
public final class CookieStore
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CookieStore.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Context
ctx
public final static CookieStore.Companion
Companion
-
Constructor Summary
Constructors Constructor Description CookieStore(Context ctx)
-
Method Summary
Modifier and Type Method Description final Context
getCtx()
final <T extends Any> T
get(String key)
Gets cookie store value for specified key. final Unit
set(String key, Object value)
Sets cookie store value for specified key. final Unit
clear()
Clears cookie store in the context and from the response.
-