Hello folks,

I was looking at cocoon3 Pipeline interface. I saw:

setup(OutputStream outputStream)
setup(OutputStream outputStream, Map<String,Object> parameters)

It seem one always needs to call setup() (which makes sense). But why
is there a method like this? Couldn't it be the execute method which
takes the OutputStream?

execute(OutputStream outputStream)
execute(OutputStream outputStream, Map<String,Object> parameters)

One would get rid of setup - this feels more natural to me at first glance.

Cheers
Christian



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Reply via email to