Class MemoryCookieStore

java.lang.Object
com.studerw.tda.http.cookie.store.MemoryCookieStore
All Implemented Interfaces:
CookieStore

public class MemoryCookieStore extends Object implements CookieStore
  • Constructor Details

    • MemoryCookieStore

      public MemoryCookieStore()
  • Method Details

    • add

      public void add(okhttp3.HttpUrl url, List<okhttp3.Cookie> cookies)
      Specified by:
      add in interface CookieStore
    • get

      public List<okhttp3.Cookie> get(okhttp3.HttpUrl uri)
      Specified by:
      get in interface CookieStore
    • removeAll

      public boolean removeAll()
      Specified by:
      removeAll in interface CookieStore
    • getCookies

      public List<okhttp3.Cookie> getCookies()
      Specified by:
      getCookies in interface CookieStore
    • remove

      public boolean remove(okhttp3.HttpUrl uri, okhttp3.Cookie cookie)
      Specified by:
      remove in interface CookieStore