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.

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

Type: Map<String, System.Cookie>

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