What about sucha a change?
https://github.com/apache/struts/pull/635

śr., 9 lis 2022 o 08:38 Lukasz Lenart <[email protected]> napisał(a):
>
> wt., 8 lis 2022 o 21:30 [email protected] <[email protected]>
> napisał(a):
> > I like the new feature to disable a specific interceptor within an
> > existing stack:
> >
> > https://issues.apache.org/jira/browse/WW-4173
> >
> > But this change has consequences:
> >
> > This basically means that each custom implementation of the class
> > Interceptor, now needs to add a method isDisabled(ActionInvocation). I'm
> > unsure if this affects many applications, but at least this is not a
> > drop-in replacement.
> >
> > I am not suggesting the roll back of the function, just want to share
> > this as a feedback to think about.
>
> Good point, this is a MINOR release so some breaking changes are
> allowed, but from the other side it would be better to have a smooth
> migration path for the users. Maybe I will add a "disableable
> interceptor" interface which will be used to check if a given
> interceptor should be disabled or not.
>
> Thanks for bringing this to my attention!
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to