Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.apache.struts2.rest.handler.jackson.AuthorizingSettableBeanProperty(SettableBeanProperty)
    keys authorization on the wire name; use AuthorizingSettableBeanProperty(SettableBeanProperty, String) with the Java member name
    org.apache.struts2.rest.handler.XStreamHandler
    since 7.2.0, scheduled for removal in a future major version. XStream has a long history of deserialization vulnerabilities and requires per-class allowlist maintenance. The default xml binding in struts-plugin.xml uses JacksonXmlHandler, which respects @StrutsParameter authorization via the AuthorizationAwareContentTypeHandler mechanism. Users who have explicitly overridden the xml handler to XStreamHandler should migrate to JacksonXmlHandler.
    org.apache.struts2.rest.RestActionMapper.setEditMethodName(String)
    since 7.5.0, has no effect on the mapper: the /edit form names the method itself and the ;edit form is no longer recognised. RestWorkflowInterceptor still reads the setting. To be removed in 8.0.0.
  • Deprecated Classes
    Class
    Description
    org.apache.struts2.rest.handler.XStreamHandler
    since 7.2.0, scheduled for removal in a future major version. XStream has a long history of deserialization vulnerabilities and requires per-class allowlist maintenance. The default xml binding in struts-plugin.xml uses JacksonXmlHandler, which respects @StrutsParameter authorization via the AuthorizationAwareContentTypeHandler mechanism. Users who have explicitly overridden the xml handler to XStreamHandler should migrate to JacksonXmlHandler.
  • Deprecated Methods
    Method
    Description
    org.apache.struts2.rest.RestActionMapper.setEditMethodName(String)
    since 7.5.0, has no effect on the mapper: the /edit form names the method itself and the ;edit form is no longer recognised. RestWorkflowInterceptor still reads the setting. To be removed in 8.0.0.
  • Deprecated Constructors
    Constructor
    Description
    org.apache.struts2.rest.handler.jackson.AuthorizingSettableBeanProperty(SettableBeanProperty)
    keys authorization on the wire name; use AuthorizingSettableBeanProperty(SettableBeanProperty, String) with the Java member name

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.