struts icon indicating copy to clipboard operation
struts copied to clipboard

WW-3714 Deprecate and repackage common APIs part 6

Open kusalk opened this issue 4 months ago • 1 comments

WW-3714

This PR deprecates and provides repackaged replacements for the following APIs, ahead of their permanent migration in Struts 7.0:

  • com.opensymphony.xwork2.interceptor.AliasInterceptor
  • com.opensymphony.xwork2.interceptor.ChainingInterceptor
  • com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor
  • com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor
  • com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor
  • com.opensymphony.xwork2.interceptor.LoggingInterceptor
  • com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor
  • com.opensymphony.xwork2.interceptor.ParameterRemoverInterceptor
  • com.opensymphony.xwork2.interceptor.PrepareInterceptor
  • com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor
  • com.opensymphony.xwork2.interceptor.StaticParametersInterceptor

Similar to #1084, the interceptor implementations were necessarily duplicated to ensure complete overriding compatibility with the old interceptor types, whilst allowing the new interceptors to extend the new variants of AbstractInterceptor and MethodFilterInterceptor (as they would be in Struts 7.0).

This PR additional modifies the following abstract class to enable overriding without importing com.opensymphony.xwork2.ActionInvocation:

  • org.apache.struts2.result.StrutsResultSupport

kusalk avatar Oct 17 '24 07:10 kusalk