org.apache.cocoon.environment
Interface Redirector

All Known Implementing Classes:
ForwardRedirector, SitemapRedirector, HttpEnvironment, AbstractCommandLineEnvironment

public interface Redirector

Interface for an redirector abstraction

Version:
CVS $Id: Redirector.java,v 1.5 2002/03/27 15:13:40 sylvain Exp $
Author:
Davanum Srinivas

Method Summary
 void globalRedirect(boolean sessionmode, java.lang.String url)
           
 boolean hasRedirected()
          Was one of the redirection methods called ?
 void redirect(boolean sessionmode, java.lang.String url)
          Redirect to the given URL
 

Method Detail

redirect

public void redirect(boolean sessionmode,
                     java.lang.String url)
              throws java.io.IOException,
                     ProcessingException
Redirect to the given URL

globalRedirect

public void globalRedirect(boolean sessionmode,
                           java.lang.String url)
                    throws java.io.IOException,
                           ProcessingException

hasRedirected

public boolean hasRedirected()
Was one of the redirection methods called ?


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