public class DefaultUrlMappingEvaluator extends java.lang.Object implements ClassLoaderAware, PluginManagerAware, UrlMappingEvaluator
A UrlMapping evaluator that evaluates Groovy scripts that are in the form:
mappings {
/$post/$year?/$month?/$day?" {
controller = "blog"
action = "show"
constraints {
year(matches:/\d{4}/)
month(matches:/\d{2}/)
}
}
}
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
ACTION_CREATE |
|
static java.lang.String |
ACTION_DELETE |
|
static java.lang.String |
ACTION_EDIT |
|
static java.lang.String |
ACTION_INDEX |
|
static java.lang.String |
ACTION_PATCH |
|
static java.lang.String |
ACTION_SAVE |
|
static java.lang.String |
ACTION_SHOW |
|
static java.lang.String |
ACTION_UPDATE |
|
static java.util.List<java.lang.String> |
DEFAULT_RESOURCES_INCLUDES |
|
static java.util.List<java.lang.String> |
DEFAULT_RESOURCE_INCLUDES |
Constructor and description |
---|
DefaultUrlMappingEvaluator
(org.springframework.context.ApplicationContext applicationContext) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.util.List |
evaluateMappings(org.springframework.core.io.Resource resource) |
|
public java.util.List<UrlMapping> |
evaluateMappings(java.lang.Class theClass) |
|
public java.util.List<UrlMapping> |
evaluateMappings(groovy.lang.Closure closure) |
|
public void |
setClassLoader(java.lang.ClassLoader classLoader) |
|
public void |
setPluginManager(GrailsPluginManager pluginManager) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |