Package org.apache.struts2.convention.annotation

# Annotation Interface AllowedMethods

@Target({TYPE,PACKAGE}) @Retention(RUNTIME) public @interface AllowedMethods

This annotation allows actions to specify allowed action methods to limit access to any other public action's methods

This annotation can be used directly on Action classes or in the package-info.java class in order to specify global allowed methods for all sub-packages.

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `String[]`
  `value`

- ## Element Details

  - ### value

    String[] value
    Default:
      {"execute"}