A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

ACTION_ANNOTATION_NODE - Field in ControllerActionTransformer
addMappings - Property in ControllersGrailsPlugin.GrailsWebMvcConfigurer
addMethodToInvokeClosure(org.codehaus.groovy.ast.ClassNode, PropertyNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext) - Method in ControllerActionTransformer
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry) - Method in ControllersGrailsPlugin.GrailsWebMvcConfigurer
AllowedMethodsHelper - Class in grails.artefact.controller.support
A helper class for interrogating the allowedMethods property.
AllowedMethodsHelper() - Constructor in AllowedMethodsHelper
annotateActionMethod(org.codehaus.groovy.ast.ClassNode, Parameter, MethodNode) - Method in ControllerActionTransformer
APPLICATION_XML - Field in RenderDynamicMethod
applicationContext - Property in BootStrapClassRunner
ARGUMENT_BEAN - Field in RenderDynamicMethod
ARGUMENT_BUILDER - Field in RenderDynamicMethod
ARGUMENT_COLLECTION - Field in RenderDynamicMethod
ARGUMENT_CONTENT_TYPE - Field in RenderDynamicMethod
ARGUMENT_CONTEXTPATH - Field in RenderDynamicMethod
ARGUMENT_ENCODING - Field in RenderDynamicMethod
ARGUMENT_FILE_NAME - Field in RenderDynamicMethod
ARGUMENT_FILE - Field in RenderDynamicMethod
ARGUMENT_LAYOUT - Field in RenderDynamicMethod
ARGUMENT_MODEL - Field in RenderDynamicMethod
ARGUMENT_PLUGIN - Field in RenderDynamicMethod
ARGUMENT_STATUS - Field in RenderDynamicMethod
ARGUMENT_TEMPLATE - Field in RenderDynamicMethod
ARGUMENT_TEXT - Field in RenderDynamicMethod
ARGUMENT_VAR - Field in RenderDynamicMethod
ARGUMENT_VIEW - Field in RenderDynamicMethod
AUTOWIRE_DOMAIN_METHOD - Field in ControllersDomainBindingApi

B

bindData(java.lang.Class, java.util.Collection, javax.servlet.ServletRequest) - Method in Controller
Binds data for the given type to the given collection from the request
BootStrapClassRunner - Class in org.grails.plugins.web.servlet.context
Runs the BootStrap classes on startup
BootStrapClassRunner() - Constructor in BootStrapClassRunner
BUILDER_TYPE_JSON - Field in RenderDynamicMethod

C

cachePeriod - Property in ControllersGrailsPlugin.GrailsWebMvcConfigurer
call(java.lang.Object) - Method in ControllerActionTransformer
chain(java.util.Map) - Method in ResponseRedirector
Chains from one action to another via an HTTP redirect.
Controller - Annotation Type in grails.web
Created by graemerocher on 28/05/14.
CONTROLLER_PATTERN - Field in ControllerActionTransformer
ControllerActionTransformer - Class in org.grails.compiler.web
ControllerActionTransformer() - Constructor in ControllerActionTransformer
ControllerArtefactTypeTransformation - Class in org.grails.compiler.web
A transformation that makes an Artefact a controller
ControllerDomainTransformer - Class in org.grails.compiler.web
Adds binding methods to domain classes.
ControllerExceptionHandlerMetaData - Interface in org.grails.plugins.web.controllers
Represents meta data which describes an exception handling method in a controller
ControllersDomainBindingApi - Class in org.grails.plugins.web.controllers.api
Enhancements made to domain classes for data binding.
ControllersGrailsPlugin - Class in org.grails.plugins.web.controllers
Handles the configuration of controllers for Grails.
ControllersGrailsPlugin.GrailsWebMvcConfigurer - Class in org.grails.plugins.web.controllers
ControllersGrailsPlugin() - Constructor in ControllersGrailsPlugin
ControllerTraitInjector - Class in grails.compiler.traits
A grails.compiler.traits.TraitInjector that injects controllers with the Controller trait
ControllerTraitInjector() - Constructor in ControllerTraitInjector
CONVERT_CLOSURES_KEY - Field in ControllerActionTransformer

D

DEFAULT_ARGUMENT - Field in RenderDynamicMethod
DEFAULT_ENCODING - Field in RenderDynamicMethod
DefaultControllerExceptionHandlerMetaData - Class in org.grails.plugins.web.controllers
Represents meta data which describes an exception handling method in a controller
DefaultControllerExceptionHandlerMetaData() - Constructor in DefaultControllerExceptionHandlerMetaData
DELEGATING_METHOD_ANNOATION - Field in ControllerActionTransformer
dependsOn - Property in ControllersGrailsPlugin
DISPOSITION_HEADER_PREFIX - Field in RenderDynamicMethod
doWithSpring() - Method in ControllersGrailsPlugin

E

EXCEPTION_HANDLER_META_DATA_FIELD_NAME - Field in ControllerActionTransformer
exceptionType - Property in DefaultControllerExceptionHandlerMetaData

F

forward(java.util.Map) - Method in RequestForwarder
Forwards a request for the given parameters using the RequestDispatchers forward method

G

getActionUri() - Method in Controller
Returns the URI of the currently executing action
getAnnotationTypeClass() - Method in ControllerArtefactTypeTransformation
getArtefactType() - Method in ControllerDomainTransformer
getArtefactTypes() - Method in ControllerActionTransformer
getArtefactTypes() - Method in ControllerTraitInjector
getChainModel() - Method in ResponseRedirector
Obtains the chain model which is used to chain request attributes from one request to the next via flash scope
getCodeToHandleAllowedMethods(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in ControllerActionTransformer
getControllerUri() - Method in Controller
Returns the URI of the currently executing controller
getErrors() - Method in Controller
Obtains the errors instance for the current controller
getExceptionHandlerMethodFor(Class<? extends Exception>) - Method in Controller
getExceptionHandlerMethods(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit) - Method in ControllerActionTransformer
getExceptionType() - Method in ControllerExceptionHandlerMetaData
getGrailsLinkGenerator() - Method in ResponseRedirector
getInstanceImplementation() - Method in ControllerDomainTransformer
getMethodName() - Method in ControllerExceptionHandlerMetaData
getModelAndView() - Method in Controller
Obtains the ModelAndView for the currently executing controller
getRejectValueExpression(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in ControllerActionTransformer
getStaticApplicationContext() - Method in Controller
getStaticImplementation() - Method in ControllerDomainTransformer
getTemplateUri(java.lang.String) - Method in Controller
Obtains a URI of a template by name
getTrait() - Method in ControllerTraitInjector
getViewUri(java.lang.String) - Method in Controller
Obtains a URI of a view by name
grailsApplication - Property in BootStrapClassRunner
GrailsWebMvcConfigurer(java.lang.Integer, boolean, java.lang.String) - Constructor in ControllersGrailsPlugin.GrailsWebMvcConfigurer

H

hasErrors() - Method in Controller
Return true if there are an errors
header(java.lang.String, java.lang.Object) - Method in Controller
Sets a response header for the given name and value

I

initialize(java.lang.Object, java.util.Map) - Method in ControllersDomainBindingApi
A map based constructor that binds the named arguments to the target instance
initializeActionParameters(org.codehaus.groovy.ast.ClassNode, ASTNode, java.lang.String, Parameter, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext) - Method in ControllerActionTransformer
initializeAndValidateCommandObjectParameter(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, ASTNode, java.lang.String, java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext) - Method in ControllerActionTransformer
initializeCommandObject(java.lang.Class, java.lang.String) - Method in Controller
Initializes a command object.
initializeCommandObjectParameter(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.control.SourceUnit) - Method in ControllerActionTransformer
initializeMethodParameter(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.BlockStatement, ASTNode, java.lang.String, Parameter, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext) - Method in ControllerActionTransformer
initializePrimitiveOrTypeWrapperParameter(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.BlockStatement, Parameter, java.lang.String) - Method in ControllerActionTransformer
initializeStringParameter(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.BlockStatement, Parameter, java.lang.String) - Method in ControllerActionTransformer
InvalidResponseHandler - Class in org.grails.plugins.web.servlet.mvc
Handles an invalid token response.
InvalidResponseHandler() - Constructor in InvalidResponseHandler
invalidTokenInternal(groovy.lang.Closure) - Method in InvalidResponseHandler
invalidTokenInternal(groovy.lang.Closure) - Method in ValidResponseHandler
isAllowed(java.lang.String, javax.servlet.http.HttpServletRequest, java.util.Map) - Method in AllowedMethodsHelper
isCandidateInstanceMethod(org.codehaus.groovy.ast.ClassNode, MethodNode) - Method in ControllerDomainTransformer
isUseJsessionId() - Method in ResponseRedirector

J

K

L

M

METHOD_SIGNATURE - Field in RenderDynamicMethod
methodName - Property in DefaultControllerExceptionHandlerMetaData
methodShouldBeConfiguredAsControllerAction(MethodNode) - Method in ControllerActionTransformer
Parameters:
method - a potential controller action method
model - Property in ValidResponseHandler

N

O

observe - Property in ControllersGrailsPlugin
onChange(Map<String, Object>) - Method in ControllersGrailsPlugin
onShutdown(Map<String, Object>) - Method in BootStrapClassRunner
onStartup(Map<String, Object>) - Method in BootStrapClassRunner

P

performInjection(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.ClassNode) - Method in ControllerActionTransformer
performInjection(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in ControllerDomainTransformer
performInjectionOnAnnotatedClass(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.ClassNode) - Method in ControllerActionTransformer
pluginManager - Property in BootStrapClassRunner

Q

R

redirect(java.util.Map) - Method in Controller
Redirects for the given arguments.
redirect(java.util.Map) - Method in ResponseRedirector
Redirects for the given arguments.
render(java.util.Map) - Method in ResponseRenderer
Render a response for the given named arguments
RenderDynamicMethod - Class in org.grails.plugins.web.controllers.metaclass
Allows rendering of text, views, and templates to the response
RequestForwarder - Trait in grails.artefact.controller.support
A Trait for classes that forward the request
requiresAutowiring() - Method in ControllerDomainTransformer
resolveArtefactType(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode) - Method in ControllerArtefactTypeTransformation
resourcesPattern - Property in ControllersGrailsPlugin.GrailsWebMvcConfigurer
ResponseRedirector - Trait in grails.artefact.controller.support
A trait for objects that redirect the response
ResponseRenderer - Trait in grails.artefact.controller.support
A trait that adds behavior to allow rendering of objects to the response

S

servletContext - Property in BootStrapClassRunner
setActionResultTransformers(org.grails.web.servlet.mvc.ActionResultTransformer) - Method in ResponseRenderer
setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in ControllerActionTransformer
setErrors(org.springframework.validation.Errors) - Method in Controller
Sets the errors instance of the current controller
setGrailsLinkGenerator(grails.web.mapping.LinkGenerator) - Method in ResponseRedirector
setGroovyPageLayoutFinder(org.grails.web.sitemesh.GroovyPageLayoutFinder) - Method in ResponseRenderer
setMimeUtility(grails.web.mime.MimeUtility) - Method in ResponseRenderer
setModelAndView(org.springframework.web.servlet.ModelAndView) - Method in Controller
Sets the ModelAndView of the current controller
setRedirectListeners(Collection<RedirectEventListener>) - Method in ResponseRedirector
setRequestDataValueProcessor(org.springframework.web.servlet.support.RequestDataValueProcessor) - Method in ResponseRedirector
setUrlConverter(grails.web.UrlConverter) - Method in RequestForwarder
setUseJsessionId(boolean) - Method in ResponseRedirector
shouldInject(java.net.URL) - Method in ControllerActionTransformer
shouldInject(java.net.URL) - Method in ControllerDomainTransformer

T

TEXT_HTML - Field in RenderDynamicMethod
transformClosureToMethod(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.ClosureExpression, PropertyNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext) - Method in ControllerActionTransformer

U

V

ValidResponseHandler - Class in org.grails.plugins.web.servlet.mvc
Handles a valid token response.
ValidResponseHandler(java.lang.Object) - Constructor in ValidResponseHandler
version - Property in ControllersGrailsPlugin
VOID_TYPE - Field in ControllerActionTransformer

W

watchedResources - Property in ControllersGrailsPlugin
withForm(org.grails.web.servlet.mvc.GrailsWebRequest, groovy.lang.Closure) - Method in Controller
withFormat(groovy.lang.Closure) - Method in Controller
wrapMethodBodyWithExceptionHandling(org.codehaus.groovy.ast.ClassNode, MethodNode) - Method in ControllerActionTransformer
This will wrap the method body in a try catch block which does something like this:
 try {
     // original method body here
 } catch (Exception $caughtException) {
     Method $method = getExceptionHandlerMethod($caughtException.getClass())
     if($method) {
         return $method.invoke(this, $caughtException)
     } else {
         throw $caughtException
     }
 }
 

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _