Is getRequest and getResponse enough for als scanpage-using functions?
It is for all classes that do not intend to use SCAN specific objects.
If a class needs more, it probably expects to be called from SCAN. In that case, it can test/cast to scanpage and retrieve the data it needs.
Should PageContext not be read-only (withouth setter-methods) and have a contructor with those two objects?
Since scanpage has setter methods, this should currently also work on PageContext.
It is possible to fix this in a later cleaning step, but I don't know if we want to change all of this and I do not desire to start that discussion now.
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Never summon anything bigger than your head."
