org.apache.cocoon.sitemap
Class SitemapRedirector

java.lang.Object
  extended by org.apache.cocoon.sitemap.SitemapRedirector
All Implemented Interfaces:
Redirector

Deprecated. This class has been used by the old sitemap engine

public class SitemapRedirector
extends Object
implements Redirector

Wrapper for sitemap redirection

Version:
CVS $Id: SitemapRedirector.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

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

SitemapRedirector

public SitemapRedirector(Environment e)
Deprecated. 
Constructor with environment--so redirection happens as expected

Method Detail

redirect

public void redirect(boolean sessionMode,
                     String url)
              throws IOException
Deprecated. 
Perform actual redirection

Specified by:
redirect in interface Redirector
Throws:
IOException

globalRedirect

public void globalRedirect(boolean sessionMode,
                           String url)
                    throws IOException
Deprecated. 
Specified by:
globalRedirect in interface Redirector
Throws:
IOException

sendStatus

public void sendStatus(int sc)
Deprecated. 
Description copied from interface: Redirector
Send a content-less response with the given status code.

Specified by:
sendStatus in interface Redirector
Parameters:
sc - an http status code.

hasRedirected

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

Specified by:
hasRedirected in interface Redirector


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.