public abstract class

AmazonCookieManager

extends Object
java.lang.Object
   ↳ com.amazon.android.webkit.AmazonCookieManager

Class Overview

The AmazonCookieManager class is intended to be functionally equivalent to the CookieManager class. See CookieManager for usage.

Summary

Public Constructors
AmazonCookieManager()
Public Methods
abstract boolean acceptCookie()
The acceptCookie() method gets whether or not WebView instances send and accept cookies, and is intended to be functionally equivalent to the acceptCookie() method.
abstract String getCookie(String url)
The getCookie(String) method gets a cookie for a given url, and is intended to be functionally equivalent to the getCookie(String) method.
static AmazonCookieManager getInstance()
The getInstance() method gets the singleton instance of the cookie manager, and is intended to be functionally equivalent to the getInstance() method.
abstract boolean hasCookies()
The hasCookies() method checks if there are stored cookies, and is intended to be functionally equivalent to the hasCookies() method.
abstract void removeAllCookie()
The removeAllCookie() method removes all cookies, and is intended to be functionally equivalent to the removeAllCookie() method.
abstract void removeExpiredCookie()
The removeExpiredCookie() method removes all expired cookies, and is intended to be functionally equivalent to the removeExpiredCookie() method.
abstract void removeSessionCookie()
The removeSessionCookie() method removes all session cookies, and is intended to be functionally equivalent to the removeSessionCookie() method.
abstract void setAcceptCookie(boolean acceptCookie)
The setAcceptCookie() method sets whether cookies should be sent and accepted, and is intended to be functionally equivalent to the setAcceptCookie(boolean) method.
abstract void setCookie(String url, String cookie)
The setCookie() method sets a cookie for the given URL, and is intended to be functionally equivalent to the setCookie(String, String) method.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AmazonCookieManager ()

Public Methods

public abstract boolean acceptCookie ()

The acceptCookie() method gets whether or not WebView instances send and accept cookies, and is intended to be functionally equivalent to the acceptCookie() method. See acceptCookie() for usage.

public abstract String getCookie (String url)

The getCookie(String) method gets a cookie for a given url, and is intended to be functionally equivalent to the getCookie(String) method. See getCookie(String) for usage.

public static AmazonCookieManager getInstance ()

The getInstance() method gets the singleton instance of the cookie manager, and is intended to be functionally equivalent to the getInstance() method. See getInstance() for usage.

public abstract boolean hasCookies ()

The hasCookies() method checks if there are stored cookies, and is intended to be functionally equivalent to the hasCookies() method. See hasCookies() for usage.

public abstract void removeAllCookie ()

The removeAllCookie() method removes all cookies, and is intended to be functionally equivalent to the removeAllCookie() method. See removeAllCookie() for usage.

public abstract void removeExpiredCookie ()

The removeExpiredCookie() method removes all expired cookies, and is intended to be functionally equivalent to the removeExpiredCookie() method. See removeExpiredCookie() for usage.

public abstract void removeSessionCookie ()

The removeSessionCookie() method removes all session cookies, and is intended to be functionally equivalent to the removeSessionCookie() method. See removeSessionCookie() for usage.

public abstract void setAcceptCookie (boolean acceptCookie)

The setAcceptCookie() method sets whether cookies should be sent and accepted, and is intended to be functionally equivalent to the setAcceptCookie(boolean) method. See setAcceptCookie(boolean) for usage.

public abstract void setCookie (String url, String cookie)

The setCookie() method sets a cookie for the given URL, and is intended to be functionally equivalent to the setCookie(String, String) method. See setCookie(String, String) for usage.