@groovy.transform.CompileStatic abstract class AbstractGrailsControllerUrlMappings extends java.lang.Object implements UrlMappings
A UrlMappingsHolder implementation that matches URLs directly onto controller instances
Modifiers | Name | Description |
---|---|---|
static class |
AbstractGrailsControllerUrlMappings.ControllerKey |
Modifiers | Name | Description |
---|---|---|
private java.util.concurrent.ConcurrentHashMap<ControllerKey, GrailsControllerClass> |
deferredMappings |
|
private java.util.concurrent.ConcurrentHashMap<ControllerKey, GrailsControllerClass> |
mappingsToGrailsControllerMap |
|
private UrlConverter |
urlConverter |
|
private UrlMappings |
urlMappingsHolderDelegate |
Type | Name and description |
---|---|
java.util.concurrent.ConcurrentHashMap<ControllerKey, GrailsControllerClass> |
deferredMappings |
java.util.concurrent.ConcurrentHashMap<ControllerKey, GrailsControllerClass> |
mappingsToGrailsControllerMap |
UrlConverter |
urlConverter |
UrlMappings |
urlMappingsHolderDelegate |
Constructor and description |
---|
AbstractGrailsControllerUrlMappings
(GrailsApplication grailsApplication, UrlMappings urlMappingsHolderDelegate, UrlConverter urlConverter) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Collection<UrlMapping> |
addMappings(groovy.lang.Closure mappings) |
|
java.util.Set<org.springframework.http.HttpMethod> |
allowedMethods(java.lang.String uri) |
|
protected UrlMappingInfo |
collectControllerMapping(UrlMappingInfo info) |
|
protected UrlMappingInfo[] |
collectControllerMappings(UrlMappingInfo[] infos) |
|
java.util.List |
getExcludePatterns() |
|
UrlCreator |
getReverseMapping(java.lang.String controller, java.lang.String action, java.lang.String pluginName, java.util.Map params) |
|
UrlCreator |
getReverseMapping(java.lang.String controller, java.lang.String action, java.lang.String namespace, java.lang.String pluginName, java.lang.String httpMethod, java.util.Map params) |
|
UrlCreator |
getReverseMapping(java.lang.String controller, java.lang.String action, java.lang.String namespace, java.lang.String pluginName, java.lang.String httpMethod, java.lang.String version, java.util.Map params) |
|
UrlCreator |
getReverseMapping(java.lang.String controller, java.lang.String action, java.lang.String namespace, java.lang.String pluginName, java.util.Map params) |
|
UrlCreator |
getReverseMapping(java.lang.String controller, java.lang.String action, java.util.Map params) |
|
UrlCreator |
getReverseMappingNoDefault(java.lang.String controller, java.lang.String action, java.util.Map params) |
|
UrlCreator |
getReverseMappingNoDefault(java.lang.String controller, java.lang.String action, java.lang.String namespace, java.lang.String pluginName, java.lang.String httpMethod, java.util.Map params) |
|
UrlCreator |
getReverseMappingNoDefault(java.lang.String controller, java.lang.String action, java.lang.String namespace, java.lang.String pluginName, java.lang.String httpMethod, java.lang.String version, java.util.Map params) |
|
UrlMappingInfo |
match(java.lang.String uri) |
|
UrlMappingInfo |
matchStatusCode(int responseCode) |
|
UrlMappingInfo |
matchStatusCode(int responseCode, java.lang.Throwable e) |
|
void |
registerController(GrailsControllerClass controller) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |
Groovy Documentation