On Sun, Oct 12, 2008 at 12:53 PM, Tim Perrett <[EMAIL PROTECTED]> wrote:
> > > The InputStream should be read by a factory which creates the response > > objects. Those response objects are immutable. > > That was going to be my next step - what your effectivly saying is > that you have a singleton to access that input stream so we then only > ever have a single instance of the InputStream kicking around and thus > avoid the NPE? Yes. It's not just to avoid the NPE, but it's to control state. IO is external, mutable state. I has to be treated very cautiously and deliberately. > > > > > > -- 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
