public class VanityUrlMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
VANITY_KEY |
| Constructor and Description |
|---|
VanityUrlMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFileVanityUrl(javax.servlet.http.HttpServletRequest hsRequest,
String outboundUrl)
checks if a vanity exists and put the result as an attribute of the request
this is used in urlRewriting rules
|
void |
checkVanityUrl(javax.servlet.http.HttpServletRequest hsRequest,
String outboundContext,
String outboundUrl)
checks if a vanity exists and put the result as an attribute of the request
this is used in urlRewriting rules
|
public static final String VANITY_KEY
public void checkVanityUrl(javax.servlet.http.HttpServletRequest hsRequest,
String outboundContext,
String outboundUrl)
hsRequest - the request used during urlRewriting operationsoutboundUrl - the url received to be checkedpublic void checkFileVanityUrl(javax.servlet.http.HttpServletRequest hsRequest,
String outboundUrl)
hsRequest - the request used during urlRewriting operationsoutboundUrl - the url received to be checkedCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.