com.taggercat.handlers
Annotation Type ActionMethod


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

 

Required Element Summary
 java.lang.String actionName
          The action name this method responds to, can be set with the {action} placeholder in the URI pattern, or with an tcActionName parameter
 
Optional Element Summary
 boolean validOnGet
          Is this method valid on GET requests, defaults to true
 boolean validOnPost
          Is this method valid on POST actions, defaults to true.
 

Element Detail

actionName

public abstract java.lang.String actionName
The action name this method responds to, can be set with the {action} placeholder in the URI pattern, or with an tcActionName parameter

validOnPost

public abstract boolean validOnPost
Is this method valid on POST actions, defaults to true.

Default:
true

validOnGet

public abstract boolean validOnGet
Is this method valid on GET requests, defaults to true

Default:
true