|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.mapping.DefaultLinkGenerator
class DefaultLinkGenerator extends java.lang.Object
A link generating service for applications to use when generating links
Property Summary | |
---|---|
java.lang.String |
configuredServerBaseURL
|
java.lang.String |
contextPath
|
UrlConverter |
grailsUrlConverter
|
GrailsPluginManager |
pluginManager
|
GrailsRequestStateLookupStrategy |
requestStateLookupStrategy
|
UrlMappingsHolder |
urlMappingsHolder
|
Constructor Summary | |
DefaultLinkGenerator(java.lang.String serverBaseURL, java.lang.String contextPath)
|
|
DefaultLinkGenerator(java.lang.String serverBaseURL)
|
Method Summary | |
---|---|
java.lang.String
|
getContextPath()
|
java.lang.String
|
getServerBaseURL()
|
java.lang.String
|
link(java.util.Map attrs, java.lang.String encoding = 'UTF-8')
{@inheritDoc } |
java.lang.String
|
makeServerURL()
Get the declared URL of the server from config, or guess at localhost for non-production. |
java.lang.String
|
resource(java.util.Map attrs)
{@inheritDoc } |
void
|
setPluginManager(GrailsPluginManager pluginManager)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Property Detail |
---|
java.lang.String configuredServerBaseURL
java.lang.String contextPath
@Autowired UrlConverter grailsUrlConverter
GrailsPluginManager pluginManager
GrailsRequestStateLookupStrategy requestStateLookupStrategy
@Autowired @Qualifier("grailsUrlMappingsHolder") UrlMappingsHolder urlMappingsHolder
Constructor Detail |
---|
DefaultLinkGenerator(java.lang.String serverBaseURL, java.lang.String contextPath)
DefaultLinkGenerator(java.lang.String serverBaseURL)
Method Detail |
---|
java.lang.String getContextPath()
java.lang.String getServerBaseURL()
java.lang.String link(java.util.Map attrs, java.lang.String encoding = 'UTF-8')
java.lang.String makeServerURL()
java.lang.String resource(java.util.Map attrs)
void setPluginManager(GrailsPluginManager pluginManager)
Groovy Documentation