////
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


* {apiDocs}grails/artefact/DomainClass.html[grails.artefact.DomainClass]
* {apiDocs}grails/web/databinding/WebDataBinding.html[grails.web.databinding.WebDataBinding]
* {gormApiDocs}/org/grails/datastore/gorm/GormEntity.html[org.grails.datastore.gorm.GormEntity]
* {gormApiDocs}/org/grails/datastore/gorm/GormValidateable.html[org.grails.datastore.gorm.GormValidateable]


==== Controller Traits

* {gspApiDocs}grails/artefact/gsp/TagLibraryInvoker.html[grails.artefact.gsp.TagLibraryInvoker]
* {apiDocs}grails/artefact/AsyncController.html[grails.artefact.AsyncController]
* {apiDocs}grails/artefact/controller/RestResponder.html[grails.artefact.controller.RestResponder]
* {apiDocs}grails/artefact/Controller.html[grails.artefact.Controller]


==== Interceptor Trait

* {apiDocs}grails/artefact/Interceptor.html[grails.artefact.Interceptor]


==== Tag Library Trait

* {gspApiDocs}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*
{apiDocs}grails/web/api/WebAttributes.html[grails.web.api.WebAttributes],Common Web Attributes
{apiDocs}grails/web/api/ServletAttributes.html[grails.web.api.ServletAttributes],Servlet API Attributes
{apiDocs}grails/web/databinding/DataBinder.html[grails.web.databinding.DataBinder],Data Binding API
{apiDocs}grails/artefact/controller/support/RequestForwarder.html[grails.artefact.controller.support.RequestForwarder],Request Forwarding API
{apiDocs}grails/artefact/controller/support/ResponseRedirector.html[grails.artefact.controller.support.ResponseRedirector],Response Redirecting API
{apiDocs}grails/artefact/controller/support/ResponseRenderer.html[grails.artefact.controller.support.ResponseRenderer],Response Rendering API
{apiDocs}grails/validation/Validateable.html[grails.validation.Validateable],Validation API
|===
