My confusion is for the below piece of code where I have set of cookies and 
I need to set the cookies on the request headers. For converting the set of 
cookies to a single string shall I have to use ClientCookieEncoder or 
ServerCookieEncoder?

Set<Cookie> outputs = ....
String cookieStr = ClientCookieEncoder.LAX.encode(outputs);
request.headers().set(COOKIE, cookieStr);



On Wednesday, August 17, 2016 at 12:05:45 PM UTC+5:30, Norman Maurer wrote:
>
> One is for server side and one for client side… What are you confused 
> about ?
>
> On 17 Aug 2016, at 08:07, Mani Chaitanya <[email protected] <javascript:>> 
> 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 [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/netty/2df975d5-8524-43f6-9dbb-feb902039b60%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/netty/2df975d5-8524-43f6-9dbb-feb902039b60%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/e2a8e1ea-81fa-4bd9-ae2d-a2ffec825682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to