org.apache.struts2.interceptor.httpmethod

## Annotation Type HttpGet

-     @Target(value={METHOD,TYPE})
       @Retention(value=RUNTIME)
      public @interface HttpGet

  Use this annotation to allow call action or action's method via GET request only
  Since:
    6.2.0
  See Also:
    `HttpMethodInterceptor`

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `HttpMethod[]` | `value`

- - ### Element Detail

    - #### value

          public abstract HttpMethod[] value

      Default:
        org.apache.struts2.interceptor.httpmethod.HttpMethod.GET

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