com.atlassian.confluence.xwork.http
Annotation Type HttpMethodRequired


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface HttpMethodRequired

An @HttpMethodRequired annotated action method will only be executed if the HTTP request uses the correct method.

In the general case a method requires a specific HTTP method to be used:

Since:
4.2
See Also:
HttpMethodValidationInterceptor

Required Element Summary
 com.atlassian.xwork.HttpMethod[] value
          Require the current request to use one of the methods listed.
 

Element Detail

value

public abstract com.atlassian.xwork.HttpMethod[] value
Require the current request to use one of the methods listed.

Returns:
Array of HTTP methods that can be used to execute the given method.


Copyright © 2003–2015 Atlassian. All rights reserved.