org.apache.struts2.convention.annotation

## Annotation Type AllowedMethods

-     @Target(value={TYPE,PACKAGE})
       @Retention(value=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 and Description
    --- | ---
    `String[]` | `value`

- - ### Element Detail

    - #### value

          public abstract String[] value

      Default:
        "execute"

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