9.1 Traits Provided by Grails
Grails artefacts are automatically augmented with certain traits at compile time.
Domain Class Traits
Controller Traits
Interceptor Trait
Tag Library Trait
Below is a list of other traits provided by the framework. The javadocs provide more detail about methods and properties related to each trait.
Trait | Brief Description |
---|---|
grails.web.api.WebAttributes | Common Web Attributes |
grails.web.api.ServletAttributes | Servlet API Attributes |
grails.web.databinding.DataBinder | Data Binding API |
grails.artefact.controller.support.RequestForwarder | Request Forwarding API |
grails.artefact.controller.support.ResponseRedirector | Response Redirecting API |
grails.artefact.controller.support.ResponseRenderer | Response Rendering API |
grails.validation.Validateable | Validation API |