|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Documented public @interface URIAction
This annotation can be used to map a request handler to URI Pattern. It is not used to map in handlers using regular expressions.

| Required Element Summary | |
|---|---|
java.lang.String |
URIPattern
The URI pattern matching the URIs supported by this handler - this is not a reg-ex |
| Optional Element Summary | |
|---|---|
java.lang.String |
defaultActionMethod
The name of the default action method. |
java.lang.String[] |
defaultValues
Default value to be used when the pattern placeholder is not matched in the URI. |
boolean |
firstMatchOnly
Should pattern matching stop if this is included in the action chain. |
int |
priority
The priority given to this handler when chained in; 1 = high, 10 = low. |
java.lang.String[] |
qualifiers
An array of reg-ex expressions to further qualify the matching of the pattern to the request. |
boolean |
requiresSession
Does this action require a valid active session |
boolean |
validOnDelete
Set to true to have pattern apply to DELETE requests |
boolean |
validOnGet
Set to true to have pattern apply to GET requests |
boolean |
validOnPost
Set to true to have pattern apply to POST requests |
boolean |
validOnPut
Set to true to have pattern apply to PUT requests |
| Element Detail |
|---|
public abstract java.lang.String URIPattern
public abstract java.lang.String defaultActionMethod
public abstract java.lang.String[] defaultValues
public abstract boolean validOnPost
public abstract boolean validOnGet
public abstract boolean validOnPut
public abstract boolean validOnDelete
public abstract int priority
public abstract boolean firstMatchOnly
public abstract java.lang.String[] qualifiers
public abstract boolean requiresSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||