|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.sitemap.SitemapRedirector
public class SitemapRedirector
Wrapper for sitemap redirection
Constructor Summary | |
---|---|
SitemapRedirector(Environment e)
Deprecated. Constructor with environment--so redirection happens as expected |
Method Summary | |
---|---|
void |
globalRedirect(boolean sessionMode,
String url)
Deprecated. |
boolean |
hasRedirected()
Deprecated. Perform check on whether redirection has occured or not |
void |
redirect(boolean sessionMode,
String url)
Deprecated. Perform actual redirection |
void |
sendStatus(int sc)
Deprecated. Send a content-less response with the given status code. |
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, String url) throws IOException
redirect
in interface Redirector
IOException
public void globalRedirect(boolean sessionMode, String url) throws IOException
globalRedirect
in interface Redirector
IOException
public void sendStatus(int sc)
Redirector
sendStatus
in interface Redirector
sc
- an http status code.public boolean hasRedirected()
hasRedirected
in interface Redirector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |