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
          Action path extension.
 java.lang.String method
          Defines action method (such as HTTP request method).
 java.lang.String value
          Action path value.
 

value

public abstract java.lang.String value
Action path value. If equals to NONE action method name will not be part of the created action path.

Default:
""

extension

public abstract java.lang.String extension
Action path extension. If equals to NONE extension will be not part of created action path.

Default:
""

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-2011 Jodd Team