String toString()

Returns the formatted string representation of the cookie. The string representation can be used for for setting the Cookie or 'set-cookie' headers

Source

String toString();