1 package com.atlassian.xwork;
2
3 import java.lang.annotation.Retention;
4 import java.lang.annotation.RetentionPolicy;
5 import java.lang.annotation.Target;
6 import java.lang.annotation.ElementType;
7
8 /**
9 * Method level annotation for XWork actions to mark which HTTP Methods are permitted to be performed against
10 * which action invocations.
11 */
12 @Retention(RetentionPolicy.RUNTIME)
13 @Target(ElementType.METHOD)
14 public @interface PermittedMethods
15 {
16 HttpMethod[] value();
17 }