org.apache.cocoon.sitemap
Class SitemapRedirector
java.lang.Object
|
+--org.apache.cocoon.sitemap.SitemapRedirector
- All Implemented Interfaces:
- Redirector
- public class SitemapRedirector
- extends java.lang.Object
- implements Redirector
Wrapper for sitemap redirection
- Version:
- CVS $Id: SitemapRedirector.java,v 1.5 2002/02/22 07:03:55 cziegeler Exp $
- Author:
- Carsten Ziegeler
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 |
SitemapRedirector
public SitemapRedirector(Environment e)
- Constructor with environment--so redirection happens as expected
redirect
public void redirect(boolean sessionMode,
java.lang.String url)
throws java.io.IOException
- Perform actual redirection
- Specified by:
redirect
in interface Redirector
globalRedirect
public void globalRedirect(boolean sessionMode,
java.lang.String url)
throws java.io.IOException
- Specified by:
globalRedirect
in interface Redirector
hasRedirected
public boolean hasRedirected()
- Perform check on whether redirection has occured or not
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.