|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Action
An abstract representation of the service code called when a request is processed. Typically maps to a method annotated with @Get or something like that. Can be replaced with a SPI to create dynamic behavior.
| Method Summary | |
|---|---|
Object |
call(Request request,
Object page,
Map<String,String> map)
Invoke this action! |
boolean |
shouldCall(Request request)
Returns true if this action should be called on this request. |
| Method Detail |
|---|
boolean shouldCall(Request request)
Object call(Request request,
Object page,
Map<String,String> map)
page - The page object on which to call this action. Aka:
the 'resource'.map - A map of path variables (fragments) to their values.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||