public TemplateMap[] defineURLMappings() { return new TemplateMap[] { new TemplateMap(templates[0], templates[1]), new TemplateMap(templates[2], templates[3]), new TemplateMap(templates[4], templates[5]) }; }
} else { for (TemplateMap templateMap : urlMappings) { String incomingTemplate = templateMap.getIncomingTemplate(); String outgoingTemplate = templateMap.getOutgoingTemplate(); URLRedirect redirect = null; try {
public TemplateMap[] defineURLMappings() { return new TemplateMap[] { new TemplateMap("/{prefix}/context/{siteId}", "{prefix}{dot-extension}") // all assignments in a site }; }
public TemplateMap[] defineURLMappings() { return new TemplateMap[] { new TemplateMap(templates[0], templates[1]), new TemplateMap(templates[2], templates[3]), new TemplateMap(templates[4], templates[5]) }; }
public TemplateMap[] defineURLMappings() { return new TemplateMap[] { new TemplateMap("/{prefix}/context/{siteId}", "{prefix}{dot-extension}") // all assignments in a site }; }