open static fun cookie(name: String, value: String): Cookie
Create a new cookie
name - the name of the cookie
name
value - the cookie value
value
Return the cookie
open static fun cookie(nettyCookie: Cookie): Cookie
Create a new cookie from a Netty cookie
nettyCookie - the Netty cookie
nettyCookie