On Sun, Oct 12, 2008 at 3:00 AM, Tim Perrett <[EMAIL PROTECTED]> wrote:

>
> I tried the lazy val but that didnt work :(
>
> I've pasted it onto GIST: http://gist.github.com/16384 - what are your
> thoughts? My gut feeling is that i need to re-factor PaypalResponse as
> its become too mutable; im just not sure how to best manage the
> destructive operations on the InputStream?


The InputStream should be read by a factory which creates the response
objects.  Those response objects are immutable.


>
>
> > Second, I'd strongly suggest looking at how RequestState is initialized
> in
> > Lift.  RequestState is immutable, but it represents the mutable state of
> the
> > underlying HTTPRequest object.
>
> Are you talking about:
>
>
> http://github.com/dpp/liftweb/tree/master/lift/src/main/scala/net/liftweb/http/RequestState.scala
>

Yep


>
> Cheers
>
> Tim
>
>
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to