Package org.ocpsoft.rewrite.faces
Class URLDuplicatePathCanonicalizer
java.lang.Object
org.ocpsoft.rewrite.faces.URLDuplicatePathCanonicalizer
- Author:
- Lincoln Baxter, III <lincoln@ocpsoft.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanonicalize(String url) Canonicalize a given URL, replacing relative path structures with the condensed path.
-
Constructor Details
-
URLDuplicatePathCanonicalizer
public URLDuplicatePathCanonicalizer()
-
-
Method Details
-
canonicalize
Canonicalize a given URL, replacing relative path structures with the condensed path. (Eg. /xxxx/../xxxx/ => /xxxx/)- Returns:
- Return the canonicalized URL. If the URL requires no canonicalization, return the original unmodified URL.
-