HTTPRequest/HTTPResponse into byte[]

"이희승 (Trustin Lee)" trustin at gmail.com
Sat Jul 9 22:37:18 EDT 2011


If you want to get the byte[] of the whole request/response including 
headers and status line, it is not possible with the current decoder 
implementation.  However, you can modify it to achieve what you want.

HTH

nelsonwck wrote:
> Hi there,
>
> I've been trying for some time now, but I still can't figure this out.
>
> Is there a way to cast a HTTPRequest/HTTPResponse back into it's byte[]
> form?
>
> I'm trying to send the information to an external processor, so I would like
> to know if it's possible.
>
> Thanks!
>
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/HTTPRequest-HTTPResponse-into-byte-tp6565595p6565595.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users

-- 
Trustin Lee, http://gleamynode.net/



More information about the netty-users mailing list