A B C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractUrlMapping - Class in org.grails.web.mapping
-
Abstract UrlMapping implementation that provides common basic functionality.
- AbstractUrlMapping(Object, ConstrainedProperty[], GrailsApplication) - Constructor for class org.grails.web.mapping.AbstractUrlMapping
- AbstractUrlMapping(Object, Object, Object, Object, Object, Object, ConstrainedProperty[], GrailsApplication) - Constructor for class org.grails.web.mapping.AbstractUrlMapping
-
Base constructor required to construct a UrlMapping instance
- AbstractUrlMapping(URI, ConstrainedProperty[], GrailsApplication) - Constructor for class org.grails.web.mapping.AbstractUrlMapping
- AbstractUrlMappingInfo - Class in org.grails.web.mapping
-
Abstract super class providing pass functionality for configuring a UrlMappingInfo.
- AbstractUrlMappingInfo() - Constructor for class org.grails.web.mapping.AbstractUrlMappingInfo
- action - Variable in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- ACTION - Static variable in interface grails.web.mapping.UrlMapping
-
The action this mapping matches
- ACTION_CREATE - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- ACTION_DELETE - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- ACTION_EDIT - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- ACTION_INDEX - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- ACTION_PATCH - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- ACTION_SAVE - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- ACTION_SHOW - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- ACTION_UPDATE - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- actionName - Variable in class org.grails.web.mapping.AbstractUrlMapping
- addMappings(Closure) - Method in interface grails.web.mapping.UrlMappings
-
Adds URL mappings to the current definition for the given closure
- addMappings(Closure) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- afterPropertiesSet() - Method in class org.grails.web.mapping.UrlMappingsHolderFactoryBean
- allowedMethods(String) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Return the allowed HTTP methods for the given URI
- allowedMethods(String) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- AMPERSAND - Static variable in interface grails.web.mapping.UrlMapping
- ANY_HTTP_METHOD - Static variable in interface grails.web.mapping.UrlMapping
-
Constant used to define a Url mapping that matches any HTTP method
- ANY_VERSION - Static variable in interface grails.web.mapping.UrlMapping
-
Constant used to define a Url mapping that matches any HTTP method
- appendKeyValue(StringBuilder, Map, Object, Object) - Method in class org.grails.web.mapping.CachingLinkGenerator
- appendMapKey(StringBuilder, Map<String, Object>) - Method in class org.grails.web.mapping.CachingLinkGenerator
- ARGUMENT_ID - Static variable in class org.grails.web.mapping.DefaultUrlCreator
- ATTRIBUTE_ABSOLUTE - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_ACTION - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_BASE - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_CONTEXT_PATH - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_CONTROLLER - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_ELEMENT_ID - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_EVENT - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_FRAGMENT - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_ID - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_INCLUDE_CONTEXT - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_MAPPING - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_METHOD - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_NAMESPACE - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_PARAMS - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_PLUGIN - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_RELATIVE_URI - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_RESOURCE - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_URI - Static variable in interface grails.web.mapping.LinkGenerator
- ATTRIBUTE_URL - Static variable in interface grails.web.mapping.LinkGenerator
B
- BEAN_ID - Static variable in interface grails.web.mapping.UrlMappingsHolder
- buildDispatchUrlForMapping(UrlMappingInfo) - Static method in class org.grails.web.mapping.UrlMappingUtils
-
Constructs the URI to forward to using the given request and UrlMappingInfo instance
C
- CachingLinkGenerator - Class in org.grails.web.mapping
-
A link generator that uses a LRU cache to cache generated links.
- CachingLinkGenerator(String) - Constructor for class org.grails.web.mapping.CachingLinkGenerator
- CachingLinkGenerator(String, String) - Constructor for class org.grails.web.mapping.CachingLinkGenerator
- CannotRedirectException - Exception in grails.web.mapping.mvc.exceptions
-
Thrown when the request cannot be redirected.
- CannotRedirectException() - Constructor for exception grails.web.mapping.mvc.exceptions.CannotRedirectException
- CannotRedirectException(String) - Constructor for exception grails.web.mapping.mvc.exceptions.CannotRedirectException
- CannotRedirectException(String, Throwable) - Constructor for exception grails.web.mapping.mvc.exceptions.CannotRedirectException
- CAPTURED_DOUBLE_WILDCARD - Static variable in interface grails.web.mapping.UrlMapping
- CAPTURED_WILDCARD - Static variable in interface grails.web.mapping.UrlMapping
- clear() - Method in class org.grails.web.mapping.UrlCreatorCache
- clearCache() - Method in class org.grails.web.mapping.CachingLinkGenerator
- compareTo(Object) - Method in class org.grails.web.mapping.RegexUrlMapping
-
Compares this UrlMapping instance with the specified UrlMapping instance and deals with URL mapping precedence rules.
- compareTo(Object) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- configure(GrailsWebRequest) - Method in interface grails.web.mapping.UrlMappingInfo
-
Configure this UrlMappingInfo the for the given GrailsWebRequest
- configure(GrailsWebRequest) - Method in class org.grails.web.mapping.AbstractUrlMappingInfo
- constraints - Variable in class org.grails.web.mapping.AbstractUrlMapping
- controller - Variable in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- CONTROLLER - Static variable in interface grails.web.mapping.UrlMapping
-
The controller this mapping matches
- controllerName - Variable in class org.grails.web.mapping.AbstractUrlMapping
- convertToRegex(String) - Method in class org.grails.web.mapping.RegexUrlMapping
-
Converts a Grails URL provides via the UrlMappingData interface to a regular expression.
- createKey(String, String, String, String, String, Map) - Method in class org.grails.web.mapping.UrlCreatorCache
- createRelative(String) - Method in interface grails.web.mapping.UrlMappingData
-
Creates a new UrlMappingData instance relative to this one for the given path
- createRelative(String) - Method in class org.grails.web.mapping.DefaultUrlMappingData
- createRelative(String) - Method in class org.grails.web.mapping.ResponseCodeMappingData
- createRelativeURL(String, String, String, String, Map, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names without the context path information
- createRelativeURL(String, String, String, String, Map, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createRelativeURL(String, String, String, String, Map, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createRelativeURL(String, String, String, String, Map, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createRelativeURL(String, String, String, String, Map, String, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names without the context path information
- createRelativeURL(String, String, String, String, Map, String, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createRelativeURL(String, String, String, String, Map, String, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createRelativeURL(String, String, String, String, Map, String, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createRelativeURL(String, String, String, Map, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names without the context path information
- createRelativeURL(String, String, String, Map, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createRelativeURL(String, String, String, Map, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createRelativeURL(String, String, String, Map, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createRelativeURL(String, String, Map, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names without the context path information
- createRelativeURL(String, String, Map, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createRelativeURL(String, String, Map, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createRelativeURL(String, String, Map, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createRelativeURL(String, String, Map, String, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names without the context path information
- createRelativeURL(String, String, Map, String, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createRelativeURL(String, String, Map, String, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createRelativeURL(String, String, Map, String, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createURL(String, String, String, String, Map, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names
- createURL(String, String, String, String, Map, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createURL(String, String, String, String, Map, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createURL(String, String, String, String, Map, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createURL(String, String, String, String, Map, String, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names
- createURL(String, String, String, String, Map, String, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createURL(String, String, String, String, Map, String, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createURL(String, String, String, String, Map, String, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createURL(String, String, String, Map, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names
- createURL(String, String, String, Map, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createURL(String, String, String, Map, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createURL(String, String, String, Map, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createURL(String, String, Map, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names
- createURL(String, String, Map, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createURL(String, String, Map, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createURL(String, String, Map, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createURL(String, String, Map, String, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameters values, controller and action names
- createURL(String, String, Map, String, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createURL(String, String, Map, String, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createURL(String, String, Map, String, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createURL(Map, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameter values
- createURL(Map, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createURL(Map, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createURL(Map, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- createURL(Map, String, String) - Method in interface grails.web.mapping.UrlCreator
-
Creates a URL for the given parameter values
- createURL(Map, String, String) - Method in class org.grails.web.mapping.DefaultUrlCreator
- createURL(Map, String, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- createURL(Map, String, String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
D
- DEFAULT_RESOURCE_INCLUDES - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- DEFAULT_RESOURCES_INCLUDES - Static variable in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- DefaultUrlCreator - Class in org.grails.web.mapping
-
The default implementation of the UrlCreator interface that constructs URLs in Grails default pattern of /controllerName/actionName/id.
- DefaultUrlCreator(String, String) - Constructor for class org.grails.web.mapping.DefaultUrlCreator
- DefaultUrlMappingData - Class in org.grails.web.mapping
-
Default implementating of the UrlMappingData interface.
- DefaultUrlMappingData(String) - Constructor for class org.grails.web.mapping.DefaultUrlMappingData
- DefaultUrlMappingEvaluator - Class in org.grails.web.mapping
-
A UrlMapping evaluator that evaluates Groovy scripts that are in the form:
- DefaultUrlMappingEvaluator(ApplicationContext) - Constructor for class org.grails.web.mapping.DefaultUrlMappingEvaluator
- DefaultUrlMappingInfo - Class in org.grails.web.mapping
-
Holds information established from a matched URL.
- DefaultUrlMappingInfo(UrlMappingInfo, Map, GrailsApplication) - Constructor for class org.grails.web.mapping.DefaultUrlMappingInfo
- DefaultUrlMappingInfo(Object, UrlMappingData, GrailsApplication) - Constructor for class org.grails.web.mapping.DefaultUrlMappingInfo
- DefaultUrlMappingInfo(Object, Object, Object, Object, Object, Object, String, String, Map<?, ?>, UrlMappingData, GrailsApplication) - Constructor for class org.grails.web.mapping.DefaultUrlMappingInfo
- DefaultUrlMappingInfo(Object, Object, Object, Object, Object, Object, Map, UrlMappingData, GrailsApplication) - Constructor for class org.grails.web.mapping.DefaultUrlMappingInfo
- DefaultUrlMappingInfo(Object, String, UrlMappingData, GrailsApplication) - Constructor for class org.grails.web.mapping.DefaultUrlMappingInfo
- DefaultUrlMappingInfo(Object, Map, UrlMappingData, GrailsApplication) - Constructor for class org.grails.web.mapping.DefaultUrlMappingInfo
- DefaultUrlMappingParser - Class in org.grails.web.mapping
-
A simple implementation of the UrlMappingParser interface.
- DefaultUrlMappingParser() - Constructor for class org.grails.web.mapping.DefaultUrlMappingParser
- DefaultUrlMappingsHolder - Class in org.grails.web.mapping
-
Default implementation of the UrlMappingsHolder interface that takes a list of mappings and then sorts them according to their precedence rules as defined in the implementation of Comparable.
- DefaultUrlMappingsHolder(List<UrlMapping>) - Constructor for class org.grails.web.mapping.DefaultUrlMappingsHolder
- DefaultUrlMappingsHolder(List<UrlMapping>, List) - Constructor for class org.grails.web.mapping.DefaultUrlMappingsHolder
- DefaultUrlMappingsHolder(List<UrlMapping>, List, boolean) - Constructor for class org.grails.web.mapping.DefaultUrlMappingsHolder
- DOUBLE_WILDCARD - Static variable in interface grails.web.mapping.UrlMapping
- DOUBLE_WILDCARD_PATTERN - Static variable in class org.grails.web.mapping.RegexUrlMapping
E
- EMPTY_MAP_STRING - Static variable in class org.grails.web.mapping.CachingLinkGenerator
- EMPTY_RESULTS - Static variable in class org.grails.web.mapping.DefaultUrlMappingsHolder
- encode(String, String) - Method in class org.grails.web.mapping.RegexUrlMapping
- equals(Object) - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- equals(Object) - Method in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- evaluateMappings(Closure) - Method in interface grails.web.mapping.UrlMappingEvaluator
-
Evaluates mapping from the given closure if possible
- evaluateMappings(Closure) - Method in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- evaluateMappings(Class) - Method in interface grails.web.mapping.UrlMappingEvaluator
-
Evaluates mapping from the given class if possible
- evaluateMappings(Class) - Method in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- evaluateMappings(Resource) - Method in interface grails.web.mapping.UrlMappingEvaluator
-
Evaluates URL mapping from the give Spring Resource
- evaluateMappings(Resource) - Method in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- evaluateNameForValue(Object) - Method in class org.grails.web.mapping.AbstractUrlMappingInfo
- evaluateNameForValue(Object, GrailsWebRequest) - Method in class org.grails.web.mapping.AbstractUrlMappingInfo
- EXCEPTION - Static variable in interface grails.web.mapping.UrlMapping
- EXCLUDES - Static variable in interface grails.web.mapping.UrlMapping
F
- findAllParamsNotInKeys(Map, Set) - Static method in class org.grails.web.mapping.UrlMappingUtils
- findAllParamsNotInUrlMappingKeywords(Map) - Static method in class org.grails.web.mapping.UrlMappingUtils
- FORMAT_PARAMETER - Static variable in class org.grails.web.mapping.RegexUrlMapping
- forwardRequestForUrlMappingInfo(HttpServletRequest, HttpServletResponse, UrlMappingInfo) - Static method in class org.grails.web.mapping.UrlMappingUtils
- forwardRequestForUrlMappingInfo(HttpServletRequest, HttpServletResponse, UrlMappingInfo, Map) - Static method in class org.grails.web.mapping.UrlMappingUtils
- forwardRequestForUrlMappingInfo(HttpServletRequest, HttpServletResponse, UrlMappingInfo, Map<String, Object>, boolean) - Static method in class org.grails.web.mapping.UrlMappingUtils
-
Forwards a request for the given UrlMappingInfo object and model
- forwardURI - Variable in class org.grails.web.mapping.AbstractUrlMapping
G
- getActionName() - Method in interface grails.web.mapping.UrlMapping
-
Retrieves the action name which is either a groovy.lang.Closure that evaluates the action name at runtime or a java.lang.String that represents the action name
- getActionName() - Method in interface grails.web.mapping.UrlMappingInfo
-
The name of the action that the URL mappping maps to
- getActionName() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getActionName() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getActionName() - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- getCacheKeyValueForResource(Object) - Method in class org.grails.web.mapping.CachingLinkGenerator
- getConstraints() - Method in interface grails.web.mapping.UrlMapping
-
The constraints the apply to this UrlMapping.
- getConstraints() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getConstraints() - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- getContextPath() - Method in interface grails.web.mapping.LinkGenerator
-
Obtains the context path from which this link generator is operating.
- getControllerName() - Method in interface grails.web.mapping.UrlMapping
-
Retrieves the controller name which is either a groovy.lang.Closure that evaluates the controller name at runtime or a java.lang.String that represents the controller name
- getControllerName() - Method in interface grails.web.mapping.UrlMappingInfo
-
The name of the controller that the URL mapping maps to
- getControllerName() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getControllerName() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getControllerName() - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- getExceptionType() - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- getExcludePatterns() - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the held Exclude Pattern instances as a list, could be null if there is no exclude
- getExcludePatterns() - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getHttpMethod() - Method in interface grails.web.mapping.UrlMapping
-
The HTTP method this URL mapping applies to.
- getHttpMethod() - Method in interface grails.web.mapping.UrlMappingInfo
-
The HTTP method that this URL mapping maps to
- getHttpMethod() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getHttpMethod() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getId() - Method in interface grails.web.mapping.UrlMappingInfo
-
The id part of the URL mapping if any
- getId() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getLogicalMappings() - Method in class org.grails.web.mapping.RegexUrlMapping
- getLogicalUrls() - Method in interface grails.web.mapping.UrlMappingData
-
Obtains the logical URLs for this URL
- getLogicalUrls() - Method in class org.grails.web.mapping.DefaultUrlMappingData
- getLogicalUrls() - Method in class org.grails.web.mapping.ResponseCodeMappingData
- getMappingName() - Method in interface grails.web.mapping.UrlMapping
-
The name of the mapping in case of named URL mapping
- getMappingName() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getNamespace() - Method in interface grails.web.mapping.UrlMapping
- getNamespace() - Method in interface grails.web.mapping.UrlMappingInfo
- getNamespace() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getNamespace() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getObject() - Method in class org.grails.web.mapping.UrlMappingsHolderFactoryBean
- getObjectType() - Method in class org.grails.web.mapping.UrlMappingsHolderFactoryBean
- getParameters() - Method in interface grails.web.mapping.UrlMappingInfo
-
The parameters that were extracted from the URI that was matched
- getParameters() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getParams() - Method in class org.grails.web.mapping.AbstractUrlMappingInfo
- getPluginIndex() - Method in interface grails.web.mapping.UrlMapping
- getPluginIndex() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getPluginName() - Method in interface grails.web.mapping.UrlMapping
-
The name of the plugin this URL mapping relates to, if any
- getPluginName() - Method in interface grails.web.mapping.UrlMappingInfo
-
The name of the plugin that this UrlMappingInfo maps to
- getPluginName() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getPluginName() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getRedirectInfo() - Method in interface grails.web.mapping.UrlMapping
-
The redirect information should be a String or a Map.
- getRedirectInfo() - Method in interface grails.web.mapping.UrlMappingInfo
-
The redirect information should be a String or a Map.
- getRedirectInfo() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getRedirectInfo() - Method in class org.grails.web.mapping.AbstractUrlMappingInfo
-
The redirect information should be a String or a Map.
- getRedirectInfo() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getResponseCode() - Method in class org.grails.web.mapping.ResponseCodeMappingData
- getReverseMapping(String, String, String, String, String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters
- getReverseMapping(String, String, String, String, String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getReverseMapping(String, String, String, String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters
- getReverseMapping(String, String, String, String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getReverseMapping(String, String, String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters
- getReverseMapping(String, String, String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getReverseMapping(String, String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters
- getReverseMapping(String, String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getReverseMapping(String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters
- getReverseMapping(String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getReverseMappingNoDefault(String, String, String, String, String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters or null if non could be found.
- getReverseMappingNoDefault(String, String, String, String, String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getReverseMappingNoDefault(String, String, String, String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters or null if non could be found.
- getReverseMappingNoDefault(String, String, String, String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getReverseMappingNoDefault(String, String, Map) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the best guess of a URI for the given controller, action and parameters or null if non could be found.
- getReverseMappingNoDefault(String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getServerBaseURL() - Method in interface grails.web.mapping.LinkGenerator
-
The base URL of the server used for creating absolute links.
- getTokens() - Method in interface grails.web.mapping.UrlMappingData
-
Retrieves the tokens that make up a URL.
- getTokens() - Method in class org.grails.web.mapping.DefaultUrlMappingData
- getTokens() - Method in class org.grails.web.mapping.ResponseCodeMappingData
- getURI() - Method in interface grails.web.mapping.UrlMappingInfo
-
The URI to map to.
- getURI() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getUrlData() - Method in interface grails.web.mapping.UrlMapping
-
Retrieves the UrlMappingData instance that describes this UrlMapping
- getUrlData() - Method in interface grails.web.mapping.UrlMappingInfo
-
Retrieves the UrlMappingData (information about a parsed URL) if any
- getUrlData() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getUrlData() - Method in class org.grails.web.mapping.RegexUrlMapping
- getUrlData() - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- getUrlMappings() - Method in interface grails.web.mapping.UrlMappingsHolder
-
Retrieves the held UrlMapping instances as an array
- getUrlMappings() - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- getUrlMappings() - Method in class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
- getUrlPattern() - Method in interface grails.web.mapping.UrlMappingData
-
Retrieves the URL pattern for this UrlMappingData instance
- getUrlPattern() - Method in class org.grails.web.mapping.DefaultUrlMappingData
- getUrlPattern() - Method in class org.grails.web.mapping.ResponseCodeMappingData
- getVersion() - Method in interface grails.web.mapping.UrlMapping
- getVersion() - Method in interface grails.web.mapping.UrlMappingInfo
- getVersion() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getVersion() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getViewName() - Method in interface grails.web.mapping.UrlMapping
-
Returns the name of the view to map to
- getViewName() - Method in interface grails.web.mapping.UrlMappingInfo
-
The name of the view that the URL mappping maps to
- getViewName() - Method in class org.grails.web.mapping.AbstractUrlMapping
- getViewName() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- getViewName() - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- grails.web.mapping - package grails.web.mapping
- grails.web.mapping.exceptions - package grails.web.mapping.exceptions
- grails.web.mapping.mvc - package grails.web.mapping.mvc
- grails.web.mapping.mvc.exceptions - package grails.web.mapping.mvc.exceptions
- grailsApplication - Variable in class org.grails.web.mapping.AbstractUrlMapping
- GrailsControllerUrlMappings - Class in org.grails.web.mapping.mvc
-
A
UrlMappingsimplementation that matches URLs directly onto controller instances - GrailsControllerUrlMappings(GrailsApplication, UrlMappings) - Constructor for class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
- GrailsControllerUrlMappings(GrailsApplication, UrlMappings, UrlConverter) - Constructor for class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
H
- hashCode() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- hashCode() - Method in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- hasOptionalExtension() - Method in interface grails.web.mapping.UrlMappingData
- hasOptionalExtension() - Method in class org.grails.web.mapping.DefaultUrlMappingData
- hasOptionalExtension() - Method in class org.grails.web.mapping.ResponseCodeMappingData
- hasRuntimeVariable(String) - Method in interface grails.web.mapping.UrlMapping
-
Whether the mapping has a runtime variable with the given name such as "/$foo"
- hasRuntimeVariable(String) - Method in class org.grails.web.mapping.AbstractUrlMapping
- HTTP_METHOD - Static variable in interface grails.web.mapping.UrlMapping
-
The HTTP method this mapping matches
- httpMethod - Variable in class org.grails.web.mapping.AbstractUrlMapping
- httpMethod - Variable in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
I
- includeForUrl(String, HttpServletRequest, HttpServletResponse, Map) - Static method in class org.grails.web.mapping.UrlMappingUtils
-
Includes the given URL returning the resulting content as a String
- includeForUrlMappingInfo(HttpServletRequest, HttpServletResponse, UrlMappingInfo, Map) - Static method in class org.grails.web.mapping.UrlMappingUtils
-
Include whatever the given UrlMappingInfo maps to within the current response
- includeForUrlMappingInfo(HttpServletRequest, HttpServletResponse, UrlMappingInfo, Map, LinkGenerator) - Static method in class org.grails.web.mapping.UrlMappingUtils
-
Include whatever the given UrlMappingInfo maps to within the current response
- INCLUDES - Static variable in interface grails.web.mapping.UrlMapping
- initialize() - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- isCacheable(Map) - Method in class org.grails.web.mapping.CachingLinkGenerator
- isDefinedInPlugin() - Method in interface grails.web.mapping.UrlMapping
- isDefinedInPlugin() - Method in class org.grails.web.mapping.AbstractUrlMapping
- isOptional(int) - Method in interface grails.web.mapping.UrlMappingData
-
Returns whether the given token in the URL is optional.
- isOptional(int) - Method in class org.grails.web.mapping.DefaultUrlMappingData
- isOptional(int) - Method in class org.grails.web.mapping.ResponseCodeMappingData
- isParsingRequest() - Method in interface grails.web.mapping.UrlMappingInfo
-
Returns true of the request body should be parsed.
- isParsingRequest() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- isSingleton() - Method in class org.grails.web.mapping.UrlMappingsHolderFactoryBean
K
- KEYWORDS - Static variable in interface grails.web.mapping.UrlMapping
L
- link(Map) - Method in interface grails.web.mapping.LinkGenerator
-
Generates a link to a controller, action or URI for the given named parameters.
- link(Map, String) - Method in interface grails.web.mapping.LinkGenerator
-
Generates a link to a controller, action or URI for the given named parameters.
- link(Map, String) - Method in class org.grails.web.mapping.CachingLinkGenerator
- LINK_ATTRIBUTES - Static variable in interface grails.web.mapping.LinkGenerator
- LINK_PREFIX - Static variable in class org.grails.web.mapping.CachingLinkGenerator
- LinkGenerator - Interface in grails.web.mapping
-
Generates links for a Grails application based on URL mapping rules and/or base context settings.
- lookup(UrlCreatorCache.ReverseMappingKey) - Method in class org.grails.web.mapping.UrlCreatorCache
- lookupMapping(String, String, String, String, String, String, Map) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
-
Performs a match uses reverse mappings to looks up a mapping from the controller, action and params.
- lookupUrlMappings(ServletContext) - Static method in class org.grails.web.mapping.UrlMappingUtils
-
Looks up the UrlMappingsHolder instance
M
- makeKey(String, Map) - Method in class org.grails.web.mapping.CachingLinkGenerator
- mappingName - Variable in class org.grails.web.mapping.AbstractUrlMapping
- match(int) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- match(String) - Method in interface grails.web.mapping.UrlMapping
-
Matches the given URI and returns an instance of the UrlMappingInfo interface or null if a match couldn't be established
- match(String) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Match and return the first UrlMappingInfo instance possible
- match(String) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- match(String) - Method in class org.grails.web.mapping.RegexUrlMapping
-
Matches the given URI and returns a DefaultUrlMappingInfo instance or null
- match(String) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- matchAll(String) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Matches all possible UrlMappingInfo instances to the given URI and returns them all
- matchAll(String) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- matchAll(String) - Method in class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
- matchAll(String, String) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Match all possible UrlMappingInfo instances to the given URI and HTTP method
- matchAll(String, String) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- matchAll(String, String) - Method in class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
- matchAll(String, String, String) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Match all possible UrlMappingInfo instances to the given URI and HTTP method
- matchAll(String, String, String) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- matchAll(String, String, String) - Method in class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
- matchAll(String, HttpMethod) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Match all possible UrlMappingInfo instances to the given URI and HTTP method
- matchAll(String, HttpMethod) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- matchAll(String, HttpMethod) - Method in class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
- matchAll(String, HttpMethod, String) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Match all possible UrlMappingInfo instances to the given URI and HTTP method
- matchAll(String, HttpMethod, String) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- matchAll(String, HttpMethod, String) - Method in class org.grails.web.mapping.mvc.GrailsControllerUrlMappings
- matchStatusCode(int) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Match and return the first UrlMappingInfo instance possible
- matchStatusCode(int) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- matchStatusCode(int, Throwable) - Method in interface grails.web.mapping.UrlMappingsHolder
-
Match and return for first UrlMappingInfo for the give response code and exception
- matchStatusCode(int, Throwable) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
N
- namespace - Variable in class org.grails.web.mapping.AbstractUrlMapping
- namespace - Variable in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- NAMESPACE - Static variable in interface grails.web.mapping.UrlMapping
-
The namespace of the URL mapping
O
- OPTIONAL_EXTENSION_WILDCARD - Static variable in interface grails.web.mapping.UrlMapping
- OPTIONAL_EXTENSION_WILDCARD_PATTERN - Static variable in class org.grails.web.mapping.RegexUrlMapping
- org.grails.web.mapping - package org.grails.web.mapping
- org.grails.web.mapping.mvc - package org.grails.web.mapping.mvc
P
- parameterValues - Variable in class org.grails.web.mapping.AbstractUrlMapping
- paramKeys - Variable in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- paramValues - Variable in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- parse(String) - Method in interface grails.web.mapping.UrlMappingParser
-
Parses the given URI pattern into a UrlMappingData instance
- parse(String) - Method in class org.grails.web.mapping.DefaultUrlMappingParser
- parseRequest - Variable in class org.grails.web.mapping.AbstractUrlMapping
- PERMANENT - Static variable in interface grails.web.mapping.UrlMapping
- PLUGIN - Static variable in interface grails.web.mapping.UrlMapping
-
The plugin of the URL Mapping
- pluginIndex - Variable in class org.grails.web.mapping.AbstractUrlMapping
- pluginName - Variable in class org.grails.web.mapping.AbstractUrlMapping
- pluginName - Variable in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- populateParamsForMapping(GrailsWebRequest) - Method in class org.grails.web.mapping.AbstractUrlMappingInfo
-
Populates request parameters for the given UrlMappingInfo instance using the GrailsWebRequest
- putAndDecorate(UrlCreatorCache.ReverseMappingKey, UrlCreator) - Method in class org.grails.web.mapping.UrlCreatorCache
Q
- QUESTION_MARK - Static variable in interface grails.web.mapping.UrlMapping
R
- REDIRECT_INFO - Static variable in interface grails.web.mapping.UrlMapping
-
Redirect information for this url mapping.
- RedirectEventListener - Interface in grails.web.mapping.mvc
-
Listener interface that gets fired when the redirect(..) method is called
- redirectInfo - Variable in class org.grails.web.mapping.AbstractUrlMapping
- RegexUrlMapping - Class in org.grails.web.mapping
-
A UrlMapping implementation that takes a Grails URL pattern and turns it into a regex matcher so that URLs can be matched and information captured from the match.
- RegexUrlMapping(UrlMappingData, Object, Object, Object, Object, Object, String, String, ConstrainedProperty[], GrailsApplication) - Constructor for class org.grails.web.mapping.RegexUrlMapping
- RegexUrlMapping(UrlMappingData, URI, ConstrainedProperty[], GrailsApplication) - Constructor for class org.grails.web.mapping.RegexUrlMapping
-
Constructs a new RegexUrlMapping for the given pattern that maps to the specified URI
- RegexUrlMapping(Object, UrlMappingData, Object, Object, Object, Object, Object, String, String, ConstrainedProperty[], GrailsApplication) - Constructor for class org.grails.web.mapping.RegexUrlMapping
-
Constructs a new RegexUrlMapping for the given pattern, controller name, action name and constraints.
- resolveView(HttpServletRequest, UrlMappingInfo, String, ViewResolver) - Static method in class org.grails.web.mapping.UrlMappingUtils
-
Resolves a view for the given view and UrlMappingInfo instance
- resource(Map) - Method in interface grails.web.mapping.LinkGenerator
-
Generates a link to a static resource for the given named parameters.
- resource(Map) - Method in class org.grails.web.mapping.CachingLinkGenerator
- RESOURCE_PREFIX - Static variable in class org.grails.web.mapping.CachingLinkGenerator
- RESOURCES - Static variable in interface grails.web.mapping.UrlMapping
- ResponseCodeMappingData - Class in org.grails.web.mapping
-
A mapping data for response codes (numbers)
- ResponseCodeMappingData(String) - Constructor for class org.grails.web.mapping.ResponseCodeMappingData
- ResponseCodeUrlMapping - Class in org.grails.web.mapping
-
A Url mapping for http response codes.
- ResponseCodeUrlMapping(UrlMappingData, Object, Object, Object, Object, Object, ConstrainedProperty[], GrailsApplication) - Constructor for class org.grails.web.mapping.ResponseCodeUrlMapping
- responseRedirected(String) - Method in interface grails.web.mapping.mvc.RedirectEventListener
-
Called when the response is redirected
- REST_RESOURCE_ACTION_TO_HTTP_METHOD_MAP - Static variable in interface grails.web.mapping.LinkGenerator
- REST_RESOURCE_HTTP_METHOD_TO_ACTION_MAP - Static variable in interface grails.web.mapping.LinkGenerator
- ReverseMappingKey(String, String, String, String, String, Map<Object, Object>) - Constructor for class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
S
- servletContext - Variable in class org.grails.web.mapping.AbstractUrlMapping
- setApplicationContext(ApplicationContext) - Method in class org.grails.web.mapping.UrlMappingsHolderFactoryBean
-
Set the ApplicationContext that this object runs in.
- setClassLoader(ClassLoader) - Method in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- setExceptionType(Class<?>) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- setGrailsApplication(GrailsApplication) - Method in class org.grails.web.mapping.UrlMappingsHolderFactoryBean
- setMappingName(String) - Method in interface grails.web.mapping.UrlMapping
-
Sets the name of the URL mapping
- setMappingName(String) - Method in class org.grails.web.mapping.AbstractUrlMapping
- setMaxWeightedCacheCapacity(int) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- setParameterValues(Map) - Method in interface grails.web.mapping.UrlMapping
-
Sets any parameter values that should be populated into the request
- setParameterValues(Map) - Method in class org.grails.web.mapping.AbstractUrlMapping
- setParameterValues(Map) - Method in class org.grails.web.mapping.ResponseCodeUrlMapping
- setParams(Map) - Method in class org.grails.web.mapping.AbstractUrlMappingInfo
- setParseRequest(boolean) - Method in interface grails.web.mapping.UrlMapping
-
Sets whether this UrlMapping should parse the request
- setParseRequest(boolean) - Method in class org.grails.web.mapping.AbstractUrlMapping
- setParsingRequest(boolean) - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- setPluginIndex(int) - Method in interface grails.web.mapping.UrlMapping
-
Sets whether or not the mapping is defined in a plugin.
- setPluginIndex(int) - Method in class org.grails.web.mapping.AbstractUrlMapping
- setPluginManager(GrailsPluginManager) - Method in class org.grails.web.mapping.DefaultUrlMappingEvaluator
- setPluginManager(GrailsPluginManager) - Method in class org.grails.web.mapping.UrlMappingsHolderFactoryBean
- setUrlCreatorMaxWeightedCacheCapacity(int) - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- SLASH - Static variable in interface grails.web.mapping.UrlMapping
T
- toString() - Method in class org.grails.web.mapping.DefaultUrlMappingInfo
- toString() - Method in class org.grails.web.mapping.DefaultUrlMappingsHolder
- toString() - Method in class org.grails.web.mapping.RegexUrlMapping
- toString() - Method in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
U
- URI - Static variable in interface grails.web.mapping.UrlMapping
-
The URI of the URL mapping
- UrlCreator - Interface in grails.web.mapping
-
Creates URL patterns as Strings.
- UrlCreatorCache - Class in org.grails.web.mapping
-
Implements caching layer for UrlCreator The "weight" of the cache is the estimated number of characters all cache entries will consume in memory.
- UrlCreatorCache(int) - Constructor for class org.grails.web.mapping.UrlCreatorCache
- UrlCreatorCache.ReverseMappingKey - Class in org.grails.web.mapping
- UrlMapping - Interface in grails.web.mapping
-
Defines a URL mapping.
- UrlMappingData - Interface in grails.web.mapping
-
Holds information about a parsed URL such as the tokens that make up the URL, The URLs (plural) that the UrLMapping logically maps to and so forth
- UrlMappingEvaluator - Interface in grails.web.mapping
-
Evaluates URL mapping from the given Spring Resource or class.
- UrlMappingException - Exception in grails.web.mapping.exceptions
-
Thrown when an error occurs evaluating an URL mapping.
- UrlMappingException(String) - Constructor for exception grails.web.mapping.exceptions.UrlMappingException
- UrlMappingException(String, Throwable) - Constructor for exception grails.web.mapping.exceptions.UrlMappingException
- UrlMappingInfo - Interface in grails.web.mapping
-
Defines that data that was produced when matching a URI with a UrlMapping instance.
- UrlMappingParser - Interface in grails.web.mapping
-
Parses a Grails URL mapping into a UrlMappingData object that holds various information about the mapping
- UrlMappings - Interface in grails.web.mapping
-
Interface that allows access to all defined URL mappings and registration of new mappings at runtime
- UrlMappingsHolder - Interface in grails.web.mapping
-
Main entry point of Grails URL mapping mechanism.
- UrlMappingsHolderFactoryBean - Class in org.grails.web.mapping
-
Constructs the UrlMappingsHolder from the registered UrlMappings class within a GrailsApplication.
- UrlMappingsHolderFactoryBean() - Constructor for class org.grails.web.mapping.UrlMappingsHolderFactoryBean
- UrlMappingUtils - Class in org.grails.web.mapping
-
Utility methods for working with UrlMappings
- USED_ATTRIBUTES_SUFFIX - Static variable in class org.grails.web.mapping.CachingLinkGenerator
V
- version - Variable in class org.grails.web.mapping.AbstractUrlMapping
- VERSION - Static variable in interface grails.web.mapping.UrlMapping
-
The version of the URL mapping
- VIEW - Static variable in interface grails.web.mapping.UrlMapping
- viewName - Variable in class org.grails.web.mapping.AbstractUrlMapping
W
- weight() - Method in class org.grails.web.mapping.UrlCreatorCache.ReverseMappingKey
- WILDCARD - Static variable in interface grails.web.mapping.UrlMapping
All Classes All Packages