I can't use this to verify if a cookie set in the browser was set as httponly, because browser does not send cookie information other than the value, such as httponly, secure, maxage, path, etc back. The browser only sends the cookie value back associated with the cookie name.
So maybe is usefull to implement all the methods from the Cookie class.