Inject Headers using proxy
Abraham Menacherry
abrahammenacherry at gmail.com
Fri Jun 17 00:11:21 EDT 2011
If you are using ChannelBuffers then you can use wrappedBuffer to do inject
the header
ChannelBuffer header =.....
ChannelBuffer existingStuff =...
ChannelBuffer buffer = ChannelBuffers.wrappedBuffer(header,existingStuff)
http://docs.jboss.org/netty/3.1/api/org/jboss/netty/buffer/ChannelBuffers.html
Documentation .
This also prevents un-necessary memory copy
Regards,
Abraham.
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Inject-Headers-using-proxy-tp6472734p6485710.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list