Skip to content

WW-5707 Deprecate legacy restful and restful2 action mappers in core (6.x) - #1883

Draft
lukaszlenart wants to merge 1 commit into
support/struts-6-x-xfrom
WW-5707-deprecate-legacy-restful-mappers-6x
Draft

WW-5707 Deprecate legacy restful and restful2 action mappers in core (6.x)#1883
lukaszlenart wants to merge 1 commit into
support/struts-6-x-xfrom
WW-5707-deprecate-legacy-restful-mappers-6x

Conversation

@lukaszlenart

Copy link
Copy Markdown
Member

6.x backport of #1882.

The core restful (RestfulActionMapper) and restful2 (Restful2ActionMapper) action mappers predate the Struts REST plugin, which is the maintained way to build REST-style applications with Struts.

This marks both classes @Deprecated (plain form, as this line targets Java 8) with javadoc pointing users to the REST plugin, and notes the deprecation next to their bean registrations in struts-beans.xml. No behaviour changes.

Removal is tracked separately as WW-5708.

Fixes WW-5707

🤖 Generated with Claude Code

…pers

The core restful (RestfulActionMapper) and restful2 (Restful2ActionMapper)
mappers predate the Struts REST plugin, which is the maintained way to build
REST-style applications. Mark both classes @deprecated and point their javadoc
to the REST plugin; removal is tracked as WW-5708.

Fixes: https://issues.apache.org/jira/browse/WW-5707

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016XMyQ1CRuYZkqygmD4aGHv
@lukaszlenart
lukaszlenart marked this pull request as draft August 30, 2026 06:49
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant