Hi,

Why is the method "getLastModified" in WicketFilter package-protected?

My problem is that I extend WicketFilter in an OSGi context. I'd like to 
delegate all calls to my own "getLastModified" method to the underlying 
WicketFilter. Since I am in an OSGi context and the package 
"org.apache.wicket.protocol.http" is already exported by the wicket core osgi 
bundle I can not simply put my class in the same package, nor can I place a 
small wrapper class in this package which increases the method visibility.

So, question is if there are any side effects which justify that I can't 
delegate to this method. I don't see any. Maybe it makes sense to increase the 
visibility of this method.

The same problem exists with parameter SERVLET_PATH_HOLDER in WicketFilter. 
Since this is only a parameter one could easily copy it, but since it is final 
already why not make it public? Or at least protected to use it in Subclasses?

Regards,
Steffen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to