# Package org.apache.struts2.action

package org.apache.struts2.action

- Related Packages
  Package
  Description
  org.apache.struts2
  Main XWork interfaces and classes.
- Class
  Description
  Action
  All actions may implement this interface, which exposes the `execute()` method.
  ApplicationAware
  Actions that want to be aware of the application Map object should implement this interface.
  CookiesAware
  Actions implementing the CookiesAware interface will receive a Map of filtered cookies via the setCookiesMap method.
  CspReportAction
  An abstract Action that can be extended to process the incoming CSP violation reports.
  CspSettingsAware
  Implement this interface by an action to provide a custom `CspSettings`, see `CspInterceptor` for more details
  DefaultCspReportAction
  The default implementation of `CspReportAction` that simply logs the JSON object that contains the details of the CSP violation.
  NoParameters
  This marker interface should be implemented by actions that do not want any parameters set on them automatically.
  ParameterNameAware
  This interface is implemented by actions that want to declare acceptable parameters.
  ParametersAware
  This interface gives actions an alternative way of receiving input parameters.
  ParameterValueAware
  This interface is implemented by actions that want to declare acceptable parameter values.
  PrincipalAware
  Actions that want access to the Principal information from HttpServletRequest object should implement this interface.
  ServletContextAware
  For components that have a dependence on the Servlet context.
  ServletRequestAware
  All Actions that want to have access to the servlet request object must implement this interface.
  ServletResponseAware
  All Actions that want to have access to the servlet response object must implement this interface.
  SessionAware
  Actions that want access to the user's HTTP session attributes should implement this interface.
  UploadedFilesAware
  Actions that want to be aware of all the uploaded file should implement this interface.