|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.sitemap.SitemapRedirector
Wrapper for sitemap redirection
Constructor Summary | |
SitemapRedirector(Environment e)
Constructor with environment--so redirection happens as expected |
Method Summary | |
void |
globalRedirect(boolean sessionMode,
java.lang.String url)
|
boolean |
hasRedirected()
Perform check on whether redirection has occured or not |
void |
redirect(boolean sessionMode,
java.lang.String url)
Perform actual redirection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SitemapRedirector(Environment e)
Method Detail |
public void redirect(boolean sessionMode, java.lang.String url) throws java.io.IOException
redirect
in interface Redirector
java.io.IOException
public void globalRedirect(boolean sessionMode, java.lang.String url) throws java.io.IOException
globalRedirect
in interface Redirector
java.io.IOException
public boolean hasRedirected()
hasRedirected
in interface Redirector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |