@groovy.transform.CompileStatic class LinkGeneratorFactory extends java.lang.Object implements org.springframework.context.ApplicationContextAware
Helper class for creating a LinkGenerator. Useful for testing
Type | Name and description |
---|---|
java.lang.String |
baseURL |
java.lang.String |
contextPath |
UrlConverter |
urlConverter |
UrlMappingsFactory |
urlMappingsFactory |
Constructor and description |
---|
LinkGeneratorFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
|
LinkGenerator |
create(java.lang.Class mappings) |
|
LinkGenerator |
create(groovy.lang.Closure mappings) |
|
LinkGenerator |
create(UrlMappings urlMappings) |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
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() |
Groovy Documentation