Interface UrlRewriter
- All Known Implementing Classes:
DefaultUrlRewriter
public interface UrlRewriter
Rewrite resource addresses inside text files
-
Method Summary
-
Method Details
-
rewrite
String rewrite(String content, String prefix, String namespace, boolean encodeForXML) throws UrlRewriterException Rewrites resource addresses- Parameters:
content- Content to be parsed for resource URLsencodeForXML- If XML should be encoded (& as &)namespace- Prefix used for html id'sprefix- Prefix to be prepended to URLs- Throws:
IOExceptionUrlRewriterException
-
extractNamespace
Extracts the namespace coming from client.- Parameters:
request-
-