getCookies()

Returns a map of cookie names and cookie objects, where the key is a String of the cookie name and the the value contains the cookie object with that name.

Signature

public Map<String, System.Cookie> getCookies()

Return Value

Type: Map<String, System.Cookie>

Usage

Used in conjunction with the Cookie class. Only returns cookies with the “apex__” prefix set by the setCookies method.