getCookies()

Returns a map of cookie names and cookie objects, where the key is a String of the cookie name and the value contains the list of cookie objects 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.

Previous
Next