| |
|
| java.lang.Object org.directwebremoting.impl.DefaultPageNormalizer
DefaultPageNormalizer | public class DefaultPageNormalizer implements PageNormalizer(Code) | | The default implementation of PageNormalizer attempts to read from
WEB-INF/web.xml to find a welcome-files element,
and uses a default of removing "index.html " and
"index.jsp " if this procedure fails.
author: Joe Walker [joe at getahead dot ltd dot uk] |
initLock | final protected static Object initLock(Code) | | The lock to prevent 2 things from calling init at the same time
|
normalizeIncludesQueryString | protected boolean normalizeIncludesQueryString(Code) | | Does the page normalizer include query strings in it's definition of
pages?
|
getDefaultWelcomeFileList | protected static List<String> getDefaultWelcomeFileList()(Code) | | Use the default list of components to strip to normalize a filename
A list of the default welcome files |
getWebXmlWelcomeFileList | protected static List<String> getWebXmlWelcomeFileList(ServletContext context)(Code) | | Accessor for the list of components to strip to normalize a filename
Parameters: context - Our route to reading web.xml A list of the welcome files from web.xml or null if none are found there |
setNormalizeIncludesQueryString | public void setNormalizeIncludesQueryString(boolean normalizeIncludesQueryString)(Code) | | Does the page normalizer include query strings in it's definition of
pages?
Parameters: normalizeIncludesQueryString - The new value |
setServletContext | public void setServletContext(ServletContext servletContext)(Code) | | Parameters: servletContext - the servletContext to set |
setWelcomeFileList | public void setWelcomeFileList(List<String> welcomeFiles)(Code) | | Accessor for the list of components to strip to normalize a filename
Parameters: welcomeFiles - the welcomeFiles to set |
setWelcomeFiles | public void setWelcomeFiles(String welcomeFileNames)(Code) | | Accessor for the list of components to strip to normalize a filename
Parameters: welcomeFileNames - the welcomeFiles to set as a comma or newlineseparated list. |
|
|
|