On 17 Aug 2016, at 08:07, Mani Chaitanya <chait...@gmail.com> wrote:
Hello,
I am little confused differences between ClientCookieEncoder and ServerCookieEncoder. Could someone please explain the difference with some usecases?
--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/2df975d5-8524-43f6-9dbb-feb902039b60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Set<Cookie> outputs = ....
String cookieStr = ClientCookieEncoder.LAX.encode(outputs);
request.headers().set(COOKIE, cookieStr);