Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » environment » [javadoc | source]
org.apache.cocoon.environment
public interface: Redirector [javadoc | source]

All Known Implementing Classes:
    LinkSamplingEnvironment, TreeProcessorRedirector, AbstractCommandLineEnvironment, SitemapRedirector, FileSavingEnvironment, PortletEnvironment, ForwardRedirector, HttpEnvironment

Interface for an redirector abstraction
Method from org.apache.cocoon.environment.Redirector Summary:
globalRedirect,   hasRedirected,   redirect,   sendStatus
Method from org.apache.cocoon.environment.Redirector Detail:
 public  void globalRedirect(boolean sessionmode,
    String url) throws IOException, ProcessingException
 public boolean hasRedirected()
    Was one of the redirection methods called ?
 public  void redirect(boolean sessionmode,
    String url) throws IOException, ProcessingException
    Redirect to the given URL
 public  void sendStatus(int sc)
    Send a content-less response with the given status code.