////
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
////

Grails artefacts are automatically augmented with certain traits at compile time.


==== Domain Class Traits


* link:{api}grails/artefact/DomainClass.html[grails.artefact.DomainClass]
* link:{api}grails/web/databinding/WebDataBinding.html[grails.web.databinding.WebDataBinding]
* link:{api}org/grails/datastore/gorm/GormEntity.html[org.grails.datastore.gorm.GormEntity]
* link:{api}org/grails/datastore/gorm/GormValidateable.html[org.grails.datastore.gorm.GormValidateable]


==== Controller Traits

* link:{api}grails/artefact/gsp/TagLibraryInvoker.html[grails.artefact.gsp.TagLibraryInvoker]
* link:{api}grails/async/web/AsyncController.html[grails.async.web.AsyncController]
* link:{api}grails/artefact/controller/RestResponder.html[grails.artefact.controller.RestResponder]
* link:{api}grails/artefact/Controller.html[grails.artefact.Controller]


==== Interceptor Trait

* link:{api}grails/artefact/Interceptor.html[grails.artefact.Interceptor]


==== Tag Library Trait

* link:{api}grails/artefact/TagLibrary.html[grails.artefact.TagLibrary]


Below is a list of other traits provided by the framework.  The javadocs provide more detail about methods and properties related to each trait.

[format="csv", options="header"]
|===

*Trait*,*Brief Description*
link:{api}grails/web/api/WebAttributes.html[grails.web.api.WebAttributes],Common Web Attributes
link:{api}grails/web/api/ServletAttributes.html[grails.web.api.ServletAttributes],Servlet API Attributes
link:{api}grails/web/databinding/DataBinder.html[grails.web.databinding.DataBinder],Data Binding API
link:{api}grails/artefact/controller/support/RequestForwarder.html[grails.artefact.controller.support.RequestForwarder],Request Forwarding API
link:{api}grails/artefact/controller/support/ResponseRedirector.html[grails.artefact.controller.support.ResponseRedirector],Response Redirecting API
link:{api}grails/artefact/controller/support/ResponseRenderer.html[grails.artefact.controller.support.ResponseRenderer],Response Rendering API
link:{api}grails/validation/Validateable.html[grails.validation.Validateable],Validation API
|===
