org.directwebremoting.extend
Interface PageNormalizer
- All Known Implementing Classes:
- DefaultPageNormalizer
public interface PageNormalizer
An interface to resolve the fact that many webservers treat blah/index.html
the same as blah/.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Method Summary |
java.lang.String |
normalizePage(java.lang.String unnormalized)
Take an un-normalized URL and turn it into the canonical form for that
URL. |
normalizePage
java.lang.String normalizePage(java.lang.String unnormalized)
- Take an un-normalized URL and turn it into the canonical form for that
URL. In general this will work by stripping off extra components like
index.html
rather than adding them in.
- Parameters:
unnormalized
- The raw string from the browser
- Returns:
- A canonical form that DWR uses to compare pages for equivalence.