Class DirectResponseLayout
java.lang.Object
org.apache.turbine.modules.layouts.DirectResponseLayout
This layout allows an action to manipulate the ServletOutputStream directly.
It requires that data.declareDirectResponse() has been called to indicate
that the OutputStream is being handled elsewhere.
- Version:
- $Id$
- Author:
- Peter Courcoux
-
Field Summary
Fields inherited from interface org.apache.turbine.modules.Layout
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doBuild
(PipelineData pipelineData) Ensures that a direct response has been declared.
-
Constructor Details
-
DirectResponseLayout
public DirectResponseLayout()
-
-
Method Details
-
doBuild
Ensures that a direct response has been declared.- Specified by:
doBuild
in interfaceLayout
- Parameters:
pipelineData
- Turbine information.- Throws:
TurbineException
- if a direct response has not been declared.Exception
- a generic exception.
-