Groovy Documentation

Package org.codehaus.groovy.grails.web.mapping

 

Interface Summary
LinkGenerator Generates links for a Grails application based on URL mapping rules and/or base context settings
UrlCreator Creates URL patterns as Strings.
UrlMapping

Defines a URL mapping.

UrlMappingData

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 Evaluates URL mapping from the given Spring Resource or class.
UrlMappingInfo Defines that data that was produced when matching a URI with a UrlMapping instance.
UrlMappingParser

Parses a Grails URL mapping into a UrlMappingData object that holds various information about the mapping

UrlMappingsHolder Main entry point of Grails URL mapping mechanism.
 


Class Summary
AbstractUrlMapping Abstract UrlMapping implementation that provides common basic functionality.
AbstractUrlMappingInfo Abstract super class providing pass functionality for configuring a UrlMappingInfo.
CachingLinkGenerator A link generator that uses a LRU cache to cache generated links
DefaultLinkGenerator A link generating service for applications to use when generating links
DefaultUrlCreator The default implementation of the UrlCreator interface that constructs URLs in Grails default pattern of /controllerName/actionName/id.
DefaultUrlMappingData Default implementating of the UrlMappingData interface.
DefaultUrlMappingEvaluator

A UrlMapping evaluator that evaluates Groovy scripts that are in the form:

 
 mappings {
    /$post/$year?
DefaultUrlMappingInfo Holds information established from a matched URL.
DefaultUrlMappingParser A simple implementation of the UrlMappingParser interface.
DefaultUrlMappings The Default URL mappings that are used if none are configured
DefaultUrlMappingsHolder 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.
ForwardUrlMappingInfo A customizable UrlMappingInfo instance used for forwards and includes.
RegexUrlMapping

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.

ResponseCodeMappingData A mapping data for response codes (numbers)
ResponseCodeUrlMapping A Url mapping for http response codes.
UrlCreatorCache Implements caching layer for UrlCreator
UrlCreatorCache.ReverseMappingKey
UrlMappingsHolderFactoryBean Constructs the UrlMappingsHolder from the registered UrlMappings class within a GrailsApplication.
 


Groovy Documentation