|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.DefaultPageNormalizer
public class DefaultPageNormalizer
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.
| Constructor Summary | |
|---|---|
DefaultPageNormalizer()
|
|
| 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. |
void |
setNormalizeIncludesQueryString(boolean normalizeIncludesQueryString)
Does the page normalizer include query strings in it's definition of pages? |
void |
setNormalizeIncludesSessionID(boolean normalizeIncludesSessionID)
Does the page normalizer include the session id if it is being appended to the url in it's definition of pages? |
void |
setServletContext(javax.servlet.ServletContext servletContext)
|
void |
setWelcomeFileList(java.util.List<java.lang.String> welcomeFiles)
Accessor for the list of components to strip to normalize a filename |
void |
setWelcomeFiles(java.lang.String welcomeFileNames)
Accessor for the list of components to strip to normalize a filename |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPageNormalizer()
| Method Detail |
|---|
public java.lang.String normalizePage(java.lang.String unnormalized)
PageNormalizerindex.html rather than adding them in.
normalizePage in interface PageNormalizerunnormalized - The raw string from the browser
public void setWelcomeFileList(java.util.List<java.lang.String> welcomeFiles)
welcomeFiles - the welcomeFiles to setpublic void setWelcomeFiles(java.lang.String welcomeFileNames)
welcomeFileNames - the welcomeFiles to set as a comma or newline
separated list.public void setNormalizeIncludesQueryString(boolean normalizeIncludesQueryString)
normalizeIncludesQueryString - The new valuepublic void setNormalizeIncludesSessionID(boolean normalizeIncludesSessionID)
normalizeIncludesSessionID - The new valuepublic void setServletContext(javax.servlet.ServletContext servletContext)
servletContext - the servletContext to set
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||