public class TemplateMap extends Object
RedirectDefinable| Constructor and Description |
|---|
TemplateMap(String incomingTemplate,
String outgoingTemplate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIncomingTemplate() |
String |
getOutgoingTemplate() |
void |
setIncomingTemplate(String incomingTemplate) |
void |
setOutgoingTemplate(String outgoingTemplate) |
public TemplateMap(String incomingTemplate, String outgoingTemplate)
incomingTemplate - the URL template pattern to match including the /prefix using {name} to indicate variables TemplateParseUtil.TEMPLATE_PREFIX) outgoingTemplate - the URL template pattern to fill with values from the incoming pattern,
this can start with anything, but will be processed as an external redirect if it starts with "http" or "/"
(unless it starts with "/{prefix}"), otherwise it will be processed as an internal forwardCopyright © 2007–2020 Sakai Project. All rights reserved.