Inject Headers using proxy

koneru9999 koneru.chowdary at gmail.com
Fri Jun 17 05:30:10 EDT 2011


Lee,
this is exactly what i have been looking for...

i just wonder whether it works with Chunked http request or not ?

anyway thank you very much for the response...

--venky


On 17 June 2011 16:30, ljohnston [via Netty Forums and Mailing Lists] <
ml-node+6486233-1247242797-336746 at n2.nabble.com> wrote:

> You could try EncoderEmbedder<http://docs.jboss.org/netty/3.2/api/org/jboss/netty/handler/codec/embedder/EncoderEmbedder.html>.
> Something like
>
> EncoderEmbedder<ChannelBuffer> encoderEmbedder = new
> EncoderEmbedder<ChannelBuffer>(new HttpRequestEncoder());
>
> encoderEmbedder.offer(httpRequest);
> ChannelBuffer buf = encoderEmbedder.poll();
>
> should get you going.
>
> Cheers
> Lee
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Inject-Headers-using-proxy-tp6472734p6486233.html
>  To unsubscribe from Inject Headers using proxy, click here<http://netty-forums-and-mailing-lists.685743.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6472734&code=a29uZXJ1LmNob3dkYXJ5QGdtYWlsLmNvbXw2NDcyNzM0fDMzOTYyNDA0Mg==>.
>
>


--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Inject-Headers-using-proxy-tp6472734p6486394.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list