Package 

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
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CookieStore

        CookieStore(Context ctx)
    • Method Detail

      • get

         final <T extends Any> T get(String key)

        Gets cookie store value for specified key.

      • set

         final Unit set(String key, Object value)

        Sets cookie store value for specified key. Values are made available for other handlers, requests, and servers.

      • clear

         final Unit clear()

        Clears cookie store in the context and from the response.