The getCookies method of the Response class returns a CookieDictionary object that contains all of the cookies in the Response object.
public CookieDictionary getCookies();