Headers.getSetCookie()
The getSetCookie() method of the Headers interface
returns an array of all the values of the Set-Cookie headers, returning
an empty list if none are present.
Syntax
Return value
String[] representing the list of Set-Cookie headers.