jodd.madvoc.meta
Annotation Type Action


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Action

Marker for action methods. It is not necessary to mark a method, however, this annotation may be used to specify non-default action path.


Optional Element Summary
 java.lang.String alias
          Defines alias.
 java.lang.String extension
          Different path extension.
 java.lang.String method
          Defines action method (such as HTTP request method).
 boolean notInPath
          Specifies if action method name should be excluded from the the action path.
 java.lang.String value
          Action path value.
 

value

public abstract java.lang.String value
Action path value.

Default:
""

extension

public abstract java.lang.String extension
Different path extension.

Default:
""

notInPath

public abstract boolean notInPath
Specifies if action method name should be excluded from the the action path.

Default:
false

alias

public abstract java.lang.String alias
Defines alias.

Default:
""

method

public abstract java.lang.String method
Defines action method (such as HTTP request method).

Default:
""


Copyright © 2003-2010 Jodd Team