JavaScript is disabled on your browser.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
gnu.inet.http

Interface CookieManager

  • All Known Implementing Classes:
    SimpleCookieManager


    public interface CookieManager
    Cookie manager interface. If an application wants to handle cookies, they should implement this interface and register the instance with each HTTPConnection they use.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      Cookie[] getCookies (java.lang.String host, boolean secure, java.lang.String path)
      Retrieves the cookies matching the specified criteria.
      void setCookie (Cookie cookie)
      Stores a cookie in the cookie manager.
    • Method Detail

      • setCookie

        void setCookie(Cookie cookie)
        Stores a cookie in the cookie manager.
        Parameters:
        cookie - the cookie to store
      • getCookies

        Cookie[] getCookies(java.lang.String host,
         boolean secure,
         java.lang.String path)
        Retrieves the cookies matching the specified criteria.
        Parameters:
        host - the host name
        secure - whether the connection is secure
        path - the path to access
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /