Class CookieManager

java.lang.Object
org.loboevolution.http.CookieManager

public class CookieManager extends Object

CookieManager class.

  • Constructor Details

    • CookieManager

      public CookieManager()
  • Method Details

    • deleteCookies

      public static void deleteCookies()

      deleteCookies.

    • getCookieList

      public static List<CookieInfo> getCookieList(String address)

      getCookieList.

      Parameters:
      address - a String object.
      Returns:
      a List object.
    • putCookies

      public static void putCookies(String uri)

      putCookies.

      Parameters:
      uri - a String object.
    • saveCookie

      public static void saveCookie(String domain, String path, String name, Date expires, String value, String maxAge, boolean secure, boolean httponly)

      saveCookie.

      Parameters:
      domain - a String object.
      path - a String object.
      name - a String object.
      expires - a Date object.
      value - a String object.
      maxAge - a String object.
      secure - a boolean.
      httponly - a boolean.
    • saveCookie

      public static void saveCookie(URL url, String cookieSpec)

      saveCookie.

      Parameters:
      url - a URL object.
      cookieSpec - a String object.