passing data between ChannelHandlers
Matt DeLuco
list_usr at spacebox.net
Sat Oct 15 21:42:36 EDT 2011
Is it possible to pass data between ChannelHandlers, or store data
somewhere that the handlers in a specific pipeline/channel can access
throughout the lifetime of the request?
For example, I have my own class for dealing with http cookies,
"CookieMap". I'd like to have a SimpleChannelHandler that creates a
CookieMap to be used by handlers further upstream, and then sets the
cookies in the CookieMap on the response on their way back downstream.
MD
More information about the netty-users
mailing list