| org.apache.cocoon.environment.ForwardRedirector
ForwardRedirector | abstract public class ForwardRedirector extends AbstractLogEnabled implements Redirector,PermanentRedirector(Code) | | A base class for Redirector s that handle forward redirects, i.e. internal
redirects using the "cocoon:" pseudo-protocol.
Concrete subclasses have to define the cocoonRedirect() method.
author: Sylvain Wallez version: CVS $Id: ForwardRedirector.java 433543 2006-08-22 06:22:54Z crossley $ |
env | protected Environment env(Code) | | The Environment to use for redirection (either internal or external)
|
globalRedirect | public void globalRedirect(boolean sessionMode, String url) throws IOException, ProcessingException(Code) | | Unconditionally redirects to a given URL, even it this redirector is part of a
subpipeline.
|
hasRedirected | public boolean hasRedirected()(Code) | | Perform check on whether redirection has occured or not
|
redirect | public void redirect(boolean sessionMode, String url) throws IOException, ProcessingException(Code) | | Redirects to a given URL. If this URL starts with "cocoon:", then an internal
redirect is performed. Otherwise, an external redirect is send to the
environment.
|
sendStatus | public void sendStatus(int sc)(Code) | | |
|
|