code: public Cookie[] getCookies()
      {
          List cookies = (List)_headers.get(SET_COOKIE);
          return cookies != null ? ( Cookie[] ) cookies.toArray( new Cookie[cookies.size()] ) : NO_COOKIES;
      }
docs: Gets all Cookies that were added to the response.