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 $Revision: 1.1.2.5 $ $Date: 2001/10/11 08:56:15 $
Author:
Carsten Ziegeler

Constructor Summary
SitemapRedirector(Environment e)
          Constructor with environment--so redirection happens as expected
 
Method Summary
 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

SitemapRedirector

public SitemapRedirector(Environment e)
Constructor with environment--so redirection happens as expected
Method Detail

redirect

public void redirect(boolean sessionMode,
                     java.lang.String url)
              throws java.io.IOException
Perform actual redirection
Specified by:
redirect in interface Redirector

hasRedirected

public boolean hasRedirected()
Perform check on whether redirection has occured or not


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.