Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.struts2.convention.annotation
Annotation Type InterceptorRef

    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    public @interface InterceptorRef

This annotation allows an interceptor to be applied to an action. If this annotation is used at the class level, then the interceptor will be applied to all actions defined on that class, and will be applied before the ones defined at the method level.

Required Element Summary
`String` | `value`

Optional Element Summary
`String[]` | `params`

Element Detail

### value

    public abstract String value

  Returns:
    name of the interceptor or interceptor stack

### params

    public abstract String[] params

  Returns:
    The parameters passed to the interceptor. This is a list of strings that form a name/value pair chain, since creating a Map for annotations is not possible. An example would be: `{"key", "value", "key2", "value2"}`.
  Default:
    {}

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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