code: public void setCookies(List<HttpCookie> cookies) {
  		Map<String, HttpCookie> map = new HashMap<String, HttpCookie>();
  		for (HttpCookie cookie : cookies) {
  			map.put(cookie.getName(), cookie);
  		}
  		this.cookies = map;
  	}
docs: Set the request's cookies
  
  @param cookies The cookie list