public class UriTemplateListIndex extends Object
/page/site/{site}/{page}
/page/site/{site}
/page/user/{userid}/{page}
/page/user/{userid}
| Constructor and Description |
|---|
UriTemplateListIndex(org.springframework.extensions.config.ConfigElement config)
Instantiates a new
UriTemplateList object using the configuration found in the
ConfigElement provided. |
UriTemplateListIndex(List<org.springframework.extensions.webscripts.UriTemplate> uriTemplates)
Instantiates a new
UriTemplateListIndex object using the list of UriTemplates
provided. |
public UriTemplateListIndex(List<org.springframework.extensions.webscripts.UriTemplate> uriTemplates)
UriTemplateListIndex object using the list of UriTemplates
provided.public UriTemplateListIndex(org.springframework.extensions.config.ConfigElement config)
UriTemplateList object using the configuration found in the
ConfigElement provided. This means that in order to change the default templates
it is also necessary to change both the Spring configuration for the resolver and provide a new
resolver to cope with the template. The only place this is now used is in the PageViewResolver
and as soon as it is no longer required it will be deleted.config - ConfigElement pointing to the public Map<String,String> findMatch(String uri)
uri - URI to match against the URI Templates in the indexCopyright © 2005–2016 Alfresco Software. All rights reserved.