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

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

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
java.io.IOException

globalRedirect

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

hasRedirected

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

Specified by:
hasRedirected in interface Redirector


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