/** * Adds a new cookie to the Cookie header with the specified {@code name} and {@code value}. Creates the Cookie header if absent. * * @param name The name of the cookie * @param value The value of the cookie * @return {@code this} */ public Builder addCookie(String name, String value) { return addCookie(HttpCookie.cookie(name, value)); }