Groovy Documentation
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

ABSOLUTISATION - Enum Constant in MapperPhase
AbstractResourcesArtefactHandler - Class in org.grails.plugin.resources.artefacts
@author Luke Daley (ld@ldaley.com)
AbstractResourcesArtefactHandler(String, Class, Class, String) - Constructor in AbstractResourcesArtefactHandler
actualUrl - Property in ResourceMeta
The url of the local resource, after processing.
add(ResourceMeta, Closure) - Method in AggregatedResourceMeta
add(List) - Method in ResourceProcessorBatch
addDeclaredResource(Closure) - Method in ResourceMetaStore
Note that this is not re-entrant safe, and is only to be called at app startup, before requests come in
addDispositionToRequest(def, String, String) - Method in DispositionsUtils
Add a disposition to the request's set of them.
addModuleDependency(String) - Method in ResourceModule
addModuleDispositionsToRequest(def, String) - Method in ResourceProcessor
Add dispositions for a module to a Request.
addNewSyntheticResource(Class, String, def) - Method in ResourceModule
addResource(def, boolean) - Method in ResourceMetaStore
ADHOC_MODULE - Property in ResourceProcessor
adhoc - Property in ProcessingFilter
adHocExcludesLowerCase - Property in ResourceProcessor
adHocIncludes - Property in ResourceProcessor
afterPropertiesSet() - Method in ResourceProcessor
Initialize bean after properties have been set.
AggregatedResourceMeta - Class in org.grails.plugin.resource
Holder for info about a resource that is made up of other resources
AggregatedResourceMeta() - Constructor in AggregatedResourceMeta
AGGREGATION - Enum Constant in MapperPhase
allResourcesByOriginalSourceURI - Property in ResourceProcessor
ALTERNATEREPRESENTATION - Enum Constant in MapperPhase
applyMappers(ResourceMeta) - Method in ResourceProcessor
artefact - Property in ResourceMapper
artefacts - Property in ResourcesGrailsPlugin
/*.groovy", "web-app/css/*
attributes - Property in ResourceMeta
autoLayoutDone(def) - Method in ResourceTagLib

B

BaseUrlResourceMapper - Class in org.grails.plugin.resource
Mapper that applies an optional base url to resources, e.g. for putting content out to one or more pull CDNs
BaseUrlResourceMapper() - Constructor in BaseUrlResourceMapper
beginPrepare(def) - Method in AggregatedResourceMeta
beginPrepare(def) - Method in CSSBundleResourceMeta
beginPrepare(def) - Method in ResourceMeta
buildAggregateResource(def) - Method in AggregatedResourceMeta
buildLinkToOriginalResource(Map) - Method in ResourceProcessor
Take g.resource style args and create a link to that original resource in the app, relative to the app context path
bundle - Property in ResourceMeta
BundleResourceMapper - Class in org.grails.plugin.resource
This mapper creates synthetic AggregatedResourceMeta instances for any bundle names found in the resource declarations, and gathers up info about those resources so that when the bundle itself is requested, the aggregated file is created and returned.
BundleResourceMapper() - Constructor in BundleResourceMapper

C

cachedMarkup - Property in ResourceModule
canProcessLegacyResource(def) - Method in ResourceProcessor
CLOSED_LATCH - Property in ResourceMetaStore
collectResourcesThatNeedProcessing(def, def) - Method in ResourceProcessor
COMPRESSION - Enum Constant in MapperPhase
config - Property in ResourceMapper
consumePageFragments(HttpServletRequest, String, String) - Method in StashManager
Returns the stash (all page fragments) of the requested type and disposition.
containsResource(ResourceMeta) - Method in AggregatedResourceMeta
contentLength - Property in ResourceMeta
contentType - Property in ResourceMeta
The original mime type
copyOriginalResourceToWorkArea() - Method in ResourceMeta
created - Property in ResourceProcessor.UriUrlCacheEntry
createDefaultAuthorizationCache() - Method in ResourceProcessor
createDefaultUriToUrlCache() - Method in ResourceProcessor
createResourceMappers(def, def) - Method in ResourceMappersFactory
CSS_URL_PATTERN - Property in CSSLinkProcessor
CSSBundleResourceMeta - Class in org.grails.plugin.resource
Holder for info about a resource that is made up of other resources
CSSBundleResourceMeta() - Constructor in CSSBundleResourceMeta
CSSLinkProcessor - Class in org.grails.plugin.resource
This class is used to parse out and replace CSS links
CSSLinkProcessor() - Constructor in CSSLinkProcessor
CSSPreprocessorResourceMapper - Class in org.grails.plugin.resource
This mapper is the first phase of CSS rewriting.
CSSPreprocessorResourceMapper() - Constructor in CSSPreprocessorResourceMapper
CSSRewriterResourceMapper - Class in org.grails.plugin.resource
This mapper is the second phase of CSS rewriting.
CSSRewriterResourceMapper() - Constructor in CSSRewriterResourceMapper

D

declareModuleRequiredByPage(def, boolean) - Method in ResourceTagLib
declaringResource - Property in ResourceMeta
The URI of the resource that resulted in the processing of this resource, or null For resources ref'd in CSS or stuff loaded up by bundles for example
DEFAULT_ADHOC_EXCLUDES - Property in ResourceProcessor
DEFAULT_ADHOC_INCLUDES - Property in ResourceProcessor
DEFAULT_ADHOC_PATTERNS - Property in ResourcesGrailsPlugin
DEFAULT_DISPOSITION_LIST - Property in DispositionsUtils
DEFAULT_MODULE_SETTINGS - Property in ResourceProcessor
', '*
DEFAULT_PRIORITY - Property in ResourceMapper
DEFAULT_URI_PREFIX - Property in ResourcesGrailsPlugin
defaultBundle(def) - Method in ModuleBuilder
defaultBundle - Property in ResourceModule
defaultExcludes - Property in ResourceMapper
defaultIncludes - Property in CSSPreprocessorResourceMapper
defaultIncludes - Property in CSSRewriterResourceMapper
defaultIncludes - Property in ResourceMapper
DefaultResourceMapperClass - Class in org.grails.plugin.resources.artefacts
@author Luke Daley (ld@ldaley.com)
DefaultResourceMapperClass(Class) - Constructor in DefaultResourceMapperClass
DefaultResourcesClass - Class in org.grails.plugin.resources.artefacts
@author Luke Daley (ld@ldaley.com)
DefaultResourcesClass(Class) - Constructor in DefaultResourcesClass
defineModule(String) - Method in ResourceProcessor
defineModuleFromBuilder(def, ResourceProcessorBatch) - Method in ResourceProcessor
delayedChangeThrottle - Property in ResourcesGrailsPlugin
delegate - Field in ResourceMeta
The delegate to actually use when linking, if any.
delegateTo(ResourceMeta) - Method in ResourceMeta
dependsOn(String) - Method in ModuleBuilder
dependsOn - Property in ResourceModule
description - Property in ResourcesGrailsPlugin
destroy() - Method in DevModeSanityFilter
destroy() - Method in ProcessingFilter
destroy - Property in ResourcesBootStrap
determineResourceResolutionArguments(def, Map) - Method in ResourceTagLib
Produce standard map of arguments to use in resolving resource.
developers - Property in ResourcesGrailsPlugin
DevModeSanityFilter - Class in org.grails.plugin.resource
This just traps any obvious mistakes the user has made and warns them in dev mode
DevModeSanityFilter() - Constructor in DevModeSanityFilter
dirtyResources - Field in ResourceProcessorBatch
DISPOSITION_DEFER - Property in DispositionsUtils
DISPOSITION_HEAD - Property in DispositionsUtils
disposition - Property in ResourceMeta
Where do you want this resource?
dispositions - Field in ResourceModule
DispositionsUtils - Class in org.grails.plugin.resource.util
Utility class with static methods for manipulating dispositions on Requests.
DispositionsUtils() - Constructor in DispositionsUtils
DISTRIBUTION - Enum Constant in MapperPhase
doCanProcessLegacyResource(def) - Method in ResourceProcessor
documentation - Property in ResourcesGrailsPlugin
doDecodeUri(String, String) - Method in URLUtils
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in DevModeSanityFilter
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in ProcessingFilter
doIsServingURLAllowed(String, URL) - Method in ResourceProcessor
doneDispositionResources(def, String) - Method in DispositionsUtils
Move a disposition from the list to be performed for a request to the list of those which are done.
doNormalizeUri(String) - Method in URLUtils
doResourceLink - Property in ResourceTagLib
Render a link for a resource.
doStash(def, def) - Method in ResourceTagLib
doWithDynamicMethods - Property in ResourcesGrailsPlugin
doWithSpring - Property in ResourcesGrailsPlugin
doWithWebDescriptor - Property in ResourcesGrailsPlugin
dumpResources(def) - Method in ResourceProcessor
dumpStats() - Method in StatsManager
Dump statistics to log.

E

each(Closure) - Method in ResourceProcessorBatch
endPrepare(def) - Method in ResourceMeta
evict(String) - Method in ResourceMetaStore
For development reloading only, evict the meta for a URI so that we can regenerate it
excludedMappers - Property in ResourceMeta
excludes - Property in ResourceMapper
excludesMapperOrOperation(String, String) - Method in ResourceMeta
exists() - Method in ResourceMeta
external - Property in ResourceTagLib
externalURLPattern - Field in URLUtils
extractURI(def, def) - Method in ResourceProcessor

F

findResourceForURI(String) - Method in ResourceProcessor
See if we have a ResourceMeta for this URI.
findSyntheticResourceById(def) - Method in ResourceProcessor
forcePrefixedWithSlash(def) - Method in ResourceTagLib
forgetModules() - Method in ResourceProcessor
forgetResources() - Method in ResourceProcessor

G

GENERATION - Enum Constant in MapperPhase
getActualUrl() - Method in ResourceMeta
getActualUrlParent() - Method in ResourceMeta
getAdHocPatterns(def) - Method in ResourcesGrailsPlugin
getAllModuleNamesRequired(Map) - Method in ResourceProcessor
Return a list of all the names of all modules required (included the input modules) to satisfy the dependencies of the input list of module names.
getApplicationConfigDeclarations(def, String) - Method in ModuleDeclarationsFactory
getAt(String) - Method in ResourceMetaStore
getBundleTypes() - Method in ResourceModule
getConfig() - Method in ResourceProcessor
Returns the config object under 'grails.resources'
getConfigParamOrDefault(String, def) - Method in ResourceProcessor
Used to retrieve a resources config param, or return the supplied default value if no explicit value was set in config
getDefaultSettingsForURI(def, def) - Method in ResourceProcessor
getDelegate() - Method in ResourceMeta
getExcludingPattern(ResourceMeta) - Method in ResourceMapper
getExistingResourceMeta(def) - Method in ResourceProcessor
getHashedResourceNum(String, int) - Method in BaseUrlResourceMapper
getIncludingPattern(ResourceMeta) - Method in ResourceMapper
getLinkUrl() - Method in ResourceMeta
getMimeType(def) - Method in ResourceProcessor
Resolve mime type for a URI by file extension
getModule(def) - Method in ResourceProcessor
Retrieve a module by name.
getModuleByName(def) - Method in ResourceTagLib
getModuleDeclarations(def, String) - Method in ModuleDeclarationsFactory
Gathers all of the module declarations (i.e.
getModuleName(def) - Method in BaseUrlResourceMapper
getModulesInDependencyOrder(def) - Method in ResourceProcessor
Return a the module names sorted in first to last dependency order, based on the required name list
getOrCreateAdHocResource(String, Closure) - Method in ResourceMetaStore
A threadsafe synchronous method to get an existing resource or create an ad-hoc resource
getOrCreateSyntheticOrImplicitModule(boolean) - Method in ResourceProcessor
getOriginalResourceLength() - Method in ResourceMeta
getOriginalResourceURLForURI(def) - Method in ResourceProcessor
Returns the actual URL for loading the resource specified by the uri By default this is a file in the app's WAR, but this could support other schemes
getPluginManager() - Method in ResourceProcessor
getPluginName() - Method in AbstractResourcesArtefactHandler
getProcessedFileExtension() - Method in ResourceMeta
The file extension of the processedFile, or null if it has no extension.
getRequestDispositionsRemaining(def) - Method in DispositionsUtils
Get the set of dispositions required by resources in the current request, which have not yet been rendered.
getRequiredDispositions() - Method in ResourceModule
getResource() - Method in ModuleBuilder
getResourceMapperArtefactHandler() - Method in ResourcesGrailsPlugin
We have to soft load this class so this file can be compiled on it's own.
getResourceMetaForURI(def, Boolean, String, Closure) - Method in ResourceProcessor
Get the existing or create a new ad-hoc ResourceMeta for the URI.
getResourcesArtefactHandler() - Method in ResourcesGrailsPlugin
getResourcesConfig(def) - Method in ResourcesGrailsPlugin
getResourceUrl(Map) - Method in HalfBakedLegacyLinkGenerator
Resolve the normal link/resource attributes map (plugin, dir, file) to a link relative to the host (not app context) This is basically g.resource copied and pasted
getStatValue(def, def, def) - Method in StatsManager
Get a statistic for category and subcategory.
getUriPrefix(def) - Method in ResourcesGrailsPlugin
getUrl(def, def) - Method in BaseUrlResourceMapper
getWebXmlFilterOrder() - Method in ResourcesGrailsPlugin
getWorkDir() - Method in ResourceProcessor
getWorkDirRelativeParentPath() - Method in ResourceMeta
getWorkDirRelativePath() - Method in ResourceMeta
getWriter() - Method in AggregatedResourceMeta
grailsApplication - Property in HalfBakedLegacyLinkGenerator
grailsApplication - Property in ResourceProcessor
grailsLinkGenerator - Property in ResourceProcessor
grailsLinkGenerator - Property in ResourceTagLib
grailsResourceLocator - Property in ResourceProcessor
grailsResourceProcessor - Property in BundleResourceMapper
grailsResourceProcessor - Property in CSSPreprocessorResourceMapper
grailsResourceProcessor - Property in CSSRewriterResourceMapper
grailsResourceProcessor - Property in DevModeSanityFilter
grailsResourceProcessor - Property in ProcessingFilter
grailsResourceProcessor - Property in ResourcesBootStrap
grailsResourceProcessor - Property in ResourceTagLib
grailsVersion - Property in ResourcesGrailsPlugin

H

HalfBakedLegacyLinkGenerator - Class in org.grails.plugin.resource.util
This is a horrible hack to replicate what we need from g.resource() for pre-Grails 1.4 apps where in Grails 1.4 we now have the wonderful grailsLinkGenerator bean
HalfBakedLegacyLinkGenerator() - Constructor in HalfBakedLegacyLinkGenerator
handleChange(def, def, def, def) - Method in ResourcesGrailsPlugin
haveAlreadyDoneDispositionResources(def, String) - Method in DispositionsUtils
Check if disposition's resources have already been rendered for a request.

I

id - Property in ResourceMeta
The optional module-unique id
img - Property in ResourceTagLib
Write out an HTML tag using resource processing for the image
includes - Property in ResourceMapper
inheritedModuleDependencies - Property in AggregatedResourceMeta
init(FilterConfig) - Method in DevModeSanityFilter
init(FilterConfig) - Method in ProcessingFilter
init - Property in ResourcesBootStrap
initFile(def) - Method in AggregatedResourceMeta
invalidUriPartsPattern - Field in URLUtils
invoke(ResourceMeta) - Method in ResourceMapper
invokeIfNotExcluded(ResourceMeta) - Method in ResourceMapper
invokeMethod(String, def) - Method in ModulesBuilder
isActualAbsolute() - Method in ResourceMeta
isAutoLayoutDone(def) - Method in ResourceTagLib
isCSSRewriteCandidate(def, def) - Method in CSSLinkProcessor
isDebugMode(ServletRequest) - Method in ResourceProcessor
isDelegating() - Method in ResourceMeta
isDirty() - Method in AggregatedResourceMeta
isDirty() - Method in ResourceMeta
isExpired() - Method in ResourceProcessor.UriUrlCacheEntry
isExplicitDebugRequest(HttpServletRequest) - Method in ResourceProcessor
isExternalURL(String) - Method in URLUtils
isInternalModule(def) - Method in ResourceProcessor
isMapperEnabledInGlobalConfig(ResourceMapper) - Method in ResourceProcessor
Test if mapper is enabled in global configuration.
isOriginalAbsolute() - Method in ResourceMeta
isRelativeURL(String) - Method in URLUtils
Works out if url is relative, such that it would need to be corrected if the file containing the url is moved
isResourceBundle(def) - Method in BaseUrlResourceMapper
isResourceWeShouldProcess(File) - Method in ResourcesGrailsPlugin
/*.*', '*
isServingURLAllowed(String, URL) - Method in ResourceProcessor
issueManagement - Property in ResourcesGrailsPlugin

J

JavaScriptBundleResourceMeta - Class in org.grails.plugin.resource
Holder for info about a JS resource that is made up of other resources
JavaScriptBundleResourceMeta() - Constructor in JavaScriptBundleResourceMeta

K

keySet() - Method in ResourceMetaStore

L

latches - Property in ResourceMetaStore
layoutResources - Property in ResourceTagLib
Render the resources.
license - Property in ResourcesGrailsPlugin
LINK_WRITERS - Property in ResourceTagLib
LINKNORMALISATION - Enum Constant in MapperPhase
linkOverride - Property in ResourceMeta
The url to use when rendering links - e.g. for absolute CDN overrides
LINKREALISATION - Enum Constant in MapperPhase
loadAfter - Property in ResourcesGrailsPlugin
loadMappers() - Method in ResourceProcessor
loadModules(ResourceProcessorBatch) - Method in ResourceProcessor
loadResources(ResourceProcessorBatch) - Method in ResourceProcessor
lockDown() - Method in ResourceModule
log - Property in AggregatedResourceMeta
log - Property in CSSBundleResourceMeta
log - Property in CSSLinkProcessor
log - Property in JavaScriptBundleResourceMeta
log - Field in ModuleBuilder
log - Field in ModuleDeclarationsFactory
log - Field in ModulesBuilder
log - Property in ResourceMapper
log - Property in ResourceMeta
log - Property in ResourceMetaStore
log - Property in StatsManager

M

makeAutoDispositionKey(String) - Method in ResourceTagLib
makeFileForURI(String) - Method in ResourceProcessor
makeFileSystemPathFromURI(def) - Method in ResourceProcessor
Workaround for replaceAll problems with \ in Java
makePageFragmentKey(String, String) - Method in StashManager
Returns the page fragment key, used to store the page fragment stashes.
makeServerURL() - Method in HalfBakedLegacyLinkGenerator
Copied from ApplicationTagLib
map(def, def) - Method in BaseUrlResourceMapper
map(def, def) - Method in BundleResourceMapper
Find resources that belong in bundles, and create the bundles, and make the resource delegate to the bundle.
map(def, def) - Method in CSSPreprocessorResourceMapper
Find all url() and fix up the url if it is not absolute NOTE: This needs to run after any plugins that move resources around, but before any that obliterate the content i.e. before minify or gzip
map(def, def) - Method in CSSRewriterResourceMapper
Find all url() and fix up the url if it is not absolute NOTE: This needs to run after any plugins that move resources around, but before any that obliterate the content i.e. before minify or gzip
map(def, def) - Method in TestResourceMapper
MapperPhase - Enum in org.grails.plugin.resource.mapper
The ORDERED phases of mapper execution.
mappings - Property in UrlMappings
MAX_NORMALIZE_ITERATIONS - Field in URLUtils
METHODNAME_OVERRIDES - Property in ModulesBuilder
MIMETYPE_TO_RESOURCE_META_CLASS - Property in BundleResourceMapper
missingMethod(String, def) - Method in ModuleBuilder
module - Property in ResourceMeta
The owning module
ModuleBuilder - Class in org.grails.plugin.resource.module
Implements the DSL for a resource as part of a module.
ModuleBuilder(def) - Constructor in ModuleBuilder
ModuleDeclarationsFactory - Class in org.grails.plugin.resource.module
This factory collects up all the application and plugin resource module declarations
ModuleDeclarationsFactory() - Constructor in ModuleDeclarationsFactory
ModulesBuilder - Class in org.grails.plugin.resource.module
Implements the resource modules DSL.
ModulesBuilder(List, def) - Constructor in ModulesBuilder
modulesByName - Property in ResourceProcessor
modulesInDependencyOrder - Property in ResourceProcessor
MUTATION - Enum Constant in MapperPhase

N

name - Property in ResourceMapper
name - Property in ResourceModule
namespace - Property in ResourceTagLib
needsProcessing() - Method in ResourceMeta
needsResourceLayout() - Method in ResourceTagLib
newInputStream() - Method in ResourceMeta
Return a new input stream for serving the resource - if processing is disabled the processedFile will be null and the original resource is used
newResourceFromArgs(Map, def, boolean) - Method in ResourceModule
newSyntheticResource(String, Class) - Method in ResourceProcessor
normalize(String, boolean) - Method in RequestUtil
Normalize a relative URI path that may have relative values ("/./", "/../", and so on ) it it.
normalizeUri(String) - Method in URLUtils
Normalizes and decodes uri once.
notAlreadyIncludedResource(def) - Method in ResourceTagLib
Check if a url has already been rendered.
NOTIFICATION - Enum Constant in MapperPhase

O

onChange - Property in ResourcesGrailsPlugin
onConfigChange - Property in ResourcesGrailsPlugin
operation - Property in ResourceMapper
optionalDispositions - Property in ResourceProcessor
organization - Property in ResourcesGrailsPlugin
originalContentLength - Property in ResourceMeta
originalLastMod - Property in ResourceMeta
originalResource - Property in ResourceMeta
originalSize - Property in ResourceMeta
originalUrl - Property in ResourceMeta
The original Url provided in the mapping declaration, verbatim

P

PATH_MATCHER - Property in ResourceMapper
PATH_MATCHER - Property in ResourceProcessor
PATH_MATCHER - Property in ResourcesGrailsPlugin
phase - Property in BaseUrlResourceMapper
phase - Property in BundleResourceMapper
phase - Property in CSSPreprocessorResourceMapper
phase - Property in CSSRewriterResourceMapper
phase - Property in ResourceMapper
phase - Property in TestResourceMapper
pluginExcludes - Property in ResourcesGrailsPlugin
pluginManager - Property in HalfBakedLegacyLinkGenerator
pluginManager - Property in ResourceModule
prepareResource(ResourceMeta, boolean) - Method in ResourceProcessor
Execute the processing chain for the resource, returning list of URIs to add to uri -> resource mappings for this resource
prepareResourceBatch(ResourceProcessorBatch) - Method in ResourceProcessor
prepareSingleDeclaredResource(ResourceMeta, Closure) - Method in ResourceProcessor
prePostWrapper - Property in ResourceMeta
priority - Property in BaseUrlResourceMapper
priority - Property in ResourceMapper
process(ResourceMeta, def, Closure) - Method in CSSLinkProcessor
Find all url() and fix up the url if it is not absolute NOTE: This needs to run after any plugins that move resources around, but before any that obliterate the content i.e. before minify or gzip
PROCESSED_BY_PREFIX - Property in ResourceMeta
processed - Field in ResourceMeta
processedFile - Property in ResourceMeta
processedSize - Property in ResourceMeta
processingEnabled - Property in ResourceProcessor
ProcessingFilter - Class in org.grails.plugin.resource
This is the servlet filter that handles all static resource requests and delegates to the service to return them.
ProcessingFilter() - Constructor in ProcessingFilter
processLegacyResource(def, def) - Method in ResourceProcessor
Process a legacy URI that points to a normal resource, not produced with our own tags, and likely not referencing a declared resource.
processModernResource(def, def) - Method in ResourceProcessor
Process a URI where the input URI matches a cached and declared resource URI, without any redirects.

Q


R

redirectToActualUrl(ResourceMeta, HttpServletRequest, HttpServletResponse) - Method in ResourceProcessor
Redirect the client to the actual processed Url, used for when an ad-hoc resource is accessed
relativeTo(ResourceMeta) - Method in ResourceMeta
Calculate the URI of this resource relative to the base resource.
relativeToWithQueryParams(ResourceMeta) - Method in ResourceMeta
relativeURI(String, String) - Method in URLUtils
Take a base URI and a target URI and resolve target against the base using the normal rules e.g. "..
RELOAD_THROTTLE_DELAY - Property in ResourcesGrailsPlugin
RELOADABLE_RESOURCE_EXCLUDES - Property in ResourcesGrailsPlugin
reloadAll() - Method in ResourceProcessor
reloadChangedFiles() - Method in ResourceProcessor
RELOADING_DOC - Property in DevModeSanityFilter
reloading - Property in ResourceProcessor
reloadMappers() - Method in ResourceProcessor
Reload just the mappers and just the resources - keep the existing module definitiosn
reloadModules() - Method in ResourceProcessor
reloadTask - Property in ResourcesGrailsPlugin
removeDispositionFromRequest(def, String) - Method in DispositionsUtils
Remove a disposition from the current request's set.
removeQueryParams(def) - Method in ResourceProcessor
RENAMING - Enum Constant in MapperPhase
renderModule - Property in ResourceTagLib
Render the resources of the given module, and all its dependencies Boolean attribute "deferred" determines whether or not the JS with "defer:true" gets rendered or not
REQ_ATTR_DISPOSITIONS_DONE - Property in DispositionsUtils
REQ_ATTR_DISPOSITIONS_REMAINING - Property in DispositionsUtils
REQ_ATTR_PREFIX_AUTO_DISPOSITION - Property in ResourceTagLib
REQ_ATTR_PREFIX_PAGE_FRAGMENTS - Field in StashManager
Prefix used for storing page fragment stashes.
requestProcessors - Property in ResourceMeta
RequestUtil - Class in org.grails.plugin.resource
Copied from Tomcat original source from https://github.com/apache/tomcat/blob/trunk/java/org/apache/tomcat/util/http/RequestUtil.java
RequestUtil() - Constructor in RequestUtil
require - Property in ResourceTagLib
Indicate that a page requires a named resource module This is stored in the request until layoutResources is called, we then sort out what needs rendering or not later
reset() - Method in AggregatedResourceMeta
reset() - Method in ResourceMeta
Reset the resource state to how it was after loading from the module definition i.e. keep only declared info, nothing generated later during processing // @todo should we delete the file in here?
resetStats() - Method in StatsManager
Reset all statistics.
resolveLinkUriToUriAndResource(def) - Method in ResourceTagLib
Get the uri to use for linking, and - if relevant - the resource instance.
resolveSyntheticResourceDependencies() - Method in ResourceProcessor
resolveUriToURL(def) - Method in ResourceProcessor
resource(Map) - Method in HalfBakedLegacyLinkGenerator
resource(def) - Method in ModuleBuilder
resource - Property in ResourceTagLib
Get the URL for a resource
resourceAllowedCache - Property in ResourceProcessor
resourceInfo - Property in ResourceProcessor
resourceLink - Property in ResourceTagLib
Render an appropriate resource link for a resource - WHETHER IT IS PROCESSED BY THIS PLUGIN OR NOT.
resourceLocatorEnabled - Property in ResourceProcessor
ResourceMapper - Class in org.grails.plugin.resource.mapper
The artefact facade used by the service to communicate with resource mapper artefacts.
ResourceMapper(def, def) - Constructor in ResourceMapper
@param artefact an instance of the resource mapper artefact
ResourceMapperArtefactHandler - Class in org.grails.plugin.resources.artefacts
@author Luke Daley (ld@ldaley.com)
ResourceMapperArtefactHandler() - Constructor in ResourceMapperArtefactHandler
ResourceMapperClass - Interface in org.grails.plugin.resources.artefacts
@author Luke Daley (ld@ldaley.com)
resourceMappers - Property in ResourceProcessor
ResourceMappersFactory - Class in org.grails.plugin.resource.mapper
This creates the ResourceMapper facades for each resource mapper artefact and puts them into the bean context
ResourceMappersFactory() - Constructor in ResourceMappersFactory
ResourceMeta - Class in org.grails.plugin.resource
Holder for info about a resource declaration at runtime
ResourceMeta() - Constructor in ResourceMeta
ResourceMetaStore - Class in org.grails.plugin.resource.util
A special URI -> ResourceMeta store that is non-reentrant and will create entries on demand, causing other threads to wait until the resource has been created if creation has already started
ResourceMetaStore() - Constructor in ResourceMetaStore
ResourceModule - Class in org.grails.plugin.resource
Holder for info about a module declaration at runtime
ResourceModule(def, List, def, def) - Constructor in ResourceModule
ResourceProcessor - Class in org.grails.plugin.resource
Primary service facade to actions on resources.
ResourceProcessor.UriUrlCacheEntry - Class in org.grails.plugin.resource
ResourceProcessor.UriUrlCacheEntry(URL, long) - Constructor in ResourceProcessor.UriUrlCacheEntry
ResourceProcessor() - Constructor in ResourceProcessor
ResourceProcessorBatch - Class in org.grails.plugin.resource
ResourceProcessorBatch() - Constructor in ResourceProcessorBatch
resources - Property in AggregatedResourceMeta
resources - Property in ResourceModule
ResourcesArtefactHandler - Class in org.grails.plugin.resources.artefacts
@author Luke Daley (ld@ldaley.com)
ResourcesArtefactHandler() - Constructor in ResourcesArtefactHandler
ResourcesBootStrap - Class in ResourcesBootStrap
Bootstraps the plugin by loading the app resources from config
ResourcesBootStrap() - Constructor in ResourcesBootStrap
resourcesByURI - Property in ResourceMetaStore
resourcesChanged(ResourceProcessorBatch) - Method in ResourceProcessor
ResourcesClass - Interface in org.grails.plugin.resources.artefacts
@author Luke Daley (ld@ldaley.com)
ResourcesGrailsPlugin - Class in ResourcesGrailsPlugin
@author Marc Palmer (marc@grailsrocks.com)
ResourcesGrailsPlugin() - Constructor in ResourcesGrailsPlugin
ResourceTagLib - Class in org.grails.plugin.resource
This taglib handles creation of all the links to resources, including the smart de-duping of them.
ResourceTagLib() - Constructor in ResourceTagLib

S

scm - Property in ResourcesGrailsPlugin
script - Property in ResourceTagLib
ScriptStashWriter - Class in org.grails.plugin.resources.stash
Writes stashed scripts to the output.
ScriptStashWriter() - Constructor in ScriptStashWriter
servingAllowedCache - Property in ResourceProcessor
servletContext - Property in ResourceProcessor
setActualUrl(String) - Method in ResourceMeta
setOriginalResource(Resource) - Method in ResourceMeta
setProcessedFile(File) - Method in ResourceMeta
setSourceUrl(String) - Method in ResourceMeta
softLoadClass(String) - Method in ResourcesGrailsPlugin
sourceUrl - Property in ResourceMeta
The app-relative url of the LOCAL source of this resource, minus query params
sourceUrlExtension - Property in ResourceMeta
The original file extension of the resource
sourceUrlParamsAndFragment - Property in ResourceMeta
The original sourceUrlParamsAndFragment of the resource, if any
stash - Property in ResourceTagLib
STASH_WRITERS - Field in StashManager
Registered, usable stash writers.
StashManager - Class in org.grails.plugin.resources.stash
Manages the stashing and unstashing of page fragments.
StashManager() - Constructor in StashManager
stashPageFragment(HttpServletRequest, String, String, String) - Method in StashManager
Stashes a page fragment.
StashWriter - Interface in org.grails.plugin.resources.stash
Writes a stash to the output.
staticUrlPrefix - Property in ResourceProcessor
statistics - Property in StatsManager
StatsManager - Class in org.grails.plugin.resource.util
Manager of statistics on loading and mapping.
statsManager - Property in ResourceProcessor
StatsManager() - Constructor in StatsManager
storeAggregateStat(def, def, def) - Method in StatsManager
Store a statistic value for category and subcategory.
storeModule(ResourceModule, ResourceProcessorBatch) - Method in ResourceProcessor
stripLeadingSlash(def) - Method in ResourceMapper
style - Property in ResourceTagLib
StyleStashWriter - Class in org.grails.plugin.resources.stash
Writes stashed styles to the output.
StyleStashWriter() - Constructor in StyleStashWriter
SUFFIX - Field in ResourceMapperArtefactHandler
SUFFIX - Field in ResourcesArtefactHandler
SUPPORTED_TYPES - Property in ResourceTagLib
SYNTHETIC_MODULE - Property in ResourceProcessor

T

tagAttributes - Property in ResourceMeta
TestResourceMapper - Class in org.grails.plugin.resource.test
TestResourceMapper() - Constructor in TestResourceMapper
timeout - Property in ResourceProcessor.UriUrlCacheEntry
title - Property in ResourcesGrailsPlugin
/*.groovy", "file:.
toString() - Method in ResourceMeta
toStringList(def) - Method in ResourceMapper
transactional - Property in ResourceProcessor
triggerReload(Closure) - Method in ResourcesGrailsPlugin
TYPE - Field in ResourceMapperArtefactHandler
TYPE - Field in ResourcesArtefactHandler

U

unstashPageFragments(Writer, HttpServletRequest, String) - Method in StashManager
Unstashes the disposition's page fragments.
updateActualUrlFromProcessedFile() - Method in ResourceMeta
updateContentLength() - Method in ResourceMeta
updateDependencyOrder() - Method in ResourceProcessor
Topographic Sort ordering for a Directed Acyclic Graph of dependencies.
updateExists() - Method in ResourceMeta
uriToUrlCache - Property in ResourceProcessor
uriToUrlCacheTimeout - Property in ResourceProcessor
url - Property in ResourceProcessor.UriUrlCacheEntry
UrlMappings - Class in UrlMappings
UrlMappings() - Constructor in UrlMappings
urlToNormalizedFormat(URL) - Method in ResourceProcessor
URLUtils - Class in org.grails.plugin.resource
@author Marc Palmer (marc@grailsrocks.com)
URLUtils() - Constructor in URLUtils
use - Property in ResourceTagLib

V

valueOf(String) - Method in MapperPhase
Returns the enum constant of this type with the specified name.
values() - Method in MapperPhase
Returns an array containing the constants of this enum type, in the order they are declared.
verifySameBaseUrlForAllModulesInBundle(AggregatedResourceMeta, Map) - Method in BaseUrlResourceMapper
version - Property in ResourcesGrailsPlugin

W

wasProcessedByMapper(ResourceMapper, boolean) - Method in ResourceMeta
watchedResources - Property in ResourcesGrailsPlugin
workDir - Property in ResourceMeta
Set on instantiation to be the dir that content is served from
workDir - Field in ResourceProcessor
write(Writer, List) - Method in ScriptStashWriter
write(Writer, List) - Method in StashWriter
Writes the stash's content to the writer.
write(Writer, List) - Method in StyleStashWriter
writeAttrs(def, def) - Method in ResourceTagLib

X


Y


Z


_

_collatedData - Field in ModulesBuilder
_data - Field in ModuleBuilder
_linkUrl - Field in ResourceMeta
_moduleBuilder - Field in ModulesBuilder
_moduleOverrides - Field in ModulesBuilder
_modules - Field in ModulesBuilder
_resourceExists - Field in ResourceMeta
_strict - Field in ModulesBuilder

Groovy Documentation