Pierre van Rooden wrote:
> This vote is a proposal for how to move the scanpage class out of the core.
> The scanpage class is replaced in the core by
> org.mmbase.util.PageContext. This small container class acts as a 
> wrapper for HttpServletRequest and HttpServletResponse.
> The scanpage class will extend PageContext and be passed by SCAN, so 
> that old scan classes can still its the functionality.
> 
> All getList(), replace(), and process() methods in MMObjectBuilder or 
> ProcessorModule classes need to be adapted. In most cases only the 
> parameter types will need to be changed. getList() no longer throws 
> ParseException, so the throws clause should also be removed.

Is getRequest and getResponse enough for als scanpage-using functions?

Should PageContext not be read-only (withouth setter-methods) and have a
contructor with those two objects?

Michiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to