[
https://issues.apache.org/jira/browse/WW-5707?focusedWorklogId=1038665&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1038665
]
ASF GitHub Bot logged work on WW-5707:
--------------------------------------
Author: ASF GitHub Bot
Created on: 30/Aug/26 06:47
Start Date: 30/Aug/26 06:47
Worklog Time Spent: 10m
Work Description: lukaszlenart opened a new pull request, #1883:
URL: https://github.com/apache/struts/pull/1883
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](https://issues.apache.org/jira/browse/WW-5708).
Fixes [WW-5707](https://issues.apache.org/jira/browse/WW-5707)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Issue Time Tracking
-------------------
Worklog Id: (was: 1038665)
Time Spent: 20m (was: 10m)
> Deprecate legacy restful and restful2 action mappers in core
> ------------------------------------------------------------
>
> Key: WW-5707
> URL: https://issues.apache.org/jira/browse/WW-5707
> Project: Struts 2
> Issue Type: Task
> Reporter: Lukasz Lenart
> Priority: Major
> Fix For: 6.12.0, 7.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.
> Mark both classes {{@Deprecated(forRemoval = true)}} and update their javadoc
> to direct users to the REST plugin.
> Removal is tracked separately and scheduled for the next major release.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)