/src/fan/Flash.fan
https://bitbucket.org/afrankvt/draft/ · Unknown · 27 lines · 23 code · 4 blank · 0 comment · 0 complexity · 692451787082509a32c60541df046b0c MD5 · raw file
- //
- // Copyright (c) 2011, Andy Frank
- // Licensed under the MIT License
- //
- // History:
- // 1 Jul 2011 Andy Frank Creation
- //
- using web
- **
- ** Flash manages short-term messaging between requests.
- **
- class Flash
- {
- ** Values from previous request.
- Str:Str req { private set }
- ** Map used to build flash for the next request.
- Str:Str res := Str:Str[:] { private set }
- ** Internal ctor.
- internal new make(Str:Str req)
- {
- this.req = req.ro
- }
- }