On Tue, Mar 9, 2010 at 10:06 AM, Carsten Ziegeler <[email protected]> wrote:
> Bertrand Delacretaz  wrote
>> On Tue, Mar 9, 2010 at 9:34 AM, Carsten Ziegeler <[email protected]> 
>> wrote:
>>> Is everyone fine if we add the following interface to the API?
>>>
>>> interface ResourceDecorator {
>>>    Resource decorade(Resource)
>>>    Resource decorade(Resource, HttpServletRequest)
>>> }
>>
>> Why not SlingHttpServletRequest?
> We use HttpServletRequest in the resource resolver as well :)
>
>> +1 anyway if there's a good reason to use HttpServletRequest.
>>
>> (and typo: should be "decorate" of course)

+1 for introducing this interface

("Vidam" would probably vote for "decorade" :)

-- 
Vidar S. Ramdal <[email protected]> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070

Reply via email to