Cookie.getVersion

Returns the version of the protocol this cookie complies with. Version 1 complies with RFC 2109, and version 0 complies with the original cookie specification drafted by Netscape. Cookies provided by a browser use and identify the browser's cookie version.

@return 0 if the cookie complies with the original Netscape specification; 1 if the cookie complies with RFC 2109

@see #setVersion

class Cookie
int
getVersion
()

Meta