org.apache.cocoon.servlet.component
Class RedirectorComponent
java.lang.Object
org.apache.cocoon.pipeline.component.AbstractPipelineComponent
org.apache.cocoon.servlet.component.RedirectorComponent
- All Implemented Interfaces:
- Finisher, PipelineComponent, Starter
public class RedirectorComponent
- extends AbstractPipelineComponent
- implements Starter, Finisher
RedirectorComponent
public RedirectorComponent()
execute
public void execute()
-
- Specified by:
execute
in interface Starter
- See Also:
Starter.execute()
getContentType
public String getContentType()
-
- Specified by:
getContentType
in interface Finisher
- See Also:
Finisher.getContentType()
setConfiguration
public void setConfiguration(Map<String,? extends Object> configuration)
- Pass component specific configuration parameters to the pipeline
component in a generic way. This is useful in environments that
automatically assemble pipelines with their components and can't use the
components constructors or setters.
- Specified by:
setConfiguration
in interface PipelineComponent
- Overrides:
setConfiguration
in class AbstractPipelineComponent
- Parameters:
configuration
- The Map
of configuration parameters.- See Also:
PipelineComponent.setConfiguration(java.util.Map)
setup
public void setup(Map<String,Object> parameters)
- The shared object map for this pipeline run.
- Specified by:
setup
in interface PipelineComponent
- Overrides:
setup
in class AbstractPipelineComponent
- Parameters:
parameters
- A Map
of parameters that are available to all
PipelineComponent
s. This is a modifiable map that can
be changed by this pipeline component.- See Also:
AbstractPipelineComponent.setup(java.util.Map)
setOutputStream
public void setOutputStream(OutputStream outputStream)
-
- Specified by:
setOutputStream
in interface Finisher
- See Also:
Finisher.setOutputStream(java.io.OutputStream)
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.