HttpResponse Serialization

Ngoc Dao ngocdaothanh at gmail.com
Sun May 22 06:26:21 EDT 2011


Because of HttpResponse does not implement Serializable, you have to
take out the status, headers, and body manually and serialize them.

Have a look at serializeResponse method here:
https://github.com/ngocdaothanh/xitrum/blob/master/src/main/scala/xitrum/handler/down/ResponseCacher.scala

Ngoc


On Sun, May 22, 2011 at 12:08 AM, silenteh <silenteh at gmail.com> wrote:
> Is there a way to serialize the HttpResponse object ?
>
> Thanks in advance.
>
> Silenteh
>
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/HttpResponse-Serialization-tp6389581p6389581.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
>


More information about the netty-users mailing list