WW-5707 Deprecate legacy restful and restful2 action mappers in core (6.x) - #1883
Draft
lukaszlenart wants to merge 1 commit into
Draft
WW-5707 Deprecate legacy restful and restful2 action mappers in core (6.x)#1883lukaszlenart wants to merge 1 commit into
lukaszlenart wants to merge 1 commit into
Conversation
…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
marked this pull request as draft
August 30, 2026 06:49
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



6.x backport of #1882.
The core
restful(RestfulActionMapper) andrestful2(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 instruts-beans.xml. No behaviour changes.Removal is tracked separately as WW-5708.
Fixes WW-5707
🤖 Generated with Claude Code