-1 to this. ResponseWriterWrapper was introduced in JSF 1.2 which means
that this package, going forward, should be largely obsolete. It is
only useful for JSF 1.1 and IMO, those people can make (and maintain)
their own decorator.
Scott
Jeanne Waldman wrote:
Hi there,
I'm wondering what people think about moving ResponseWriterDecorator
from package org.apache.myfaces.trinidadinternal.io;
to org.apache.myfaces.trinidad.context (or some other public package -
I chose context because ResponseWriter is in
javax.faces.context.ResponseWriter).
The reason I ask is because the ADF Faces project I'm working on has
quite a few classes that extend ResponseWriterDecorator, some of which
are public apis.
And Trinidad itself extends this class in 7 classes.
Also, ResponseWriterDecorator itself does not use any internal apis.
It only uses public apis, so making it public will be easy.
We can deprecate the internal one for backward compatibility.
Let me know your thoughts.
Thanks,
Jeanne