Class CookieStore

java.lang.Object
org.loboevolution.store.CookieStore

public class CookieStore extends Object

CookieStore class.

  • Constructor Details

    • CookieStore

      public CookieStore()
  • Method Details

    • saveCookie

      public static void saveCookie(String urlHostName, String cookieSpec)

      saveCookie.

      Parameters:
      urlHostName - a String object.
      cookieSpec - a String object.
    • saveCookie

      public static void saveCookie(String domain, String path, String name, Date expires, String value, String maxAge, boolean secure, boolean httponly)
      Save cookie.
      Parameters:
      domain - the domain
      path - the path
      name - the name
      expires - the expires
      value - the value
      maxAge - a String object.
      secure - a boolean.
      httponly - a boolean.
    • getCookies

      public static List<Cookie> getCookies(String hostName, String path)

      getCookies.

      Parameters:
      hostName - a String object.
      path - a String object.
      Returns:
      a List object.