@CompileStatic interface ActionResultTransformer
Interface for classes which transform the result of an action. These can be registered with the Spring context and are loaded and applied to action responses
Type Params | Return Type | Name and description |
---|---|---|
|
abstract Object |
transformActionResult(GrailsWebRequest webRequest, String viewName, Object actionResult) Transforms an action result |
Transforms an action result
webRequest
- The web requestviewName
- The view nameactionResult
- The return value of an action