org.apache.turbine.modules.layouts
Class DirectResponseLayout

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Layout
          extended byorg.apache.turbine.modules.layouts.DirectResponseLayout

public class DirectResponseLayout
extends Layout

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: DirectResponseLayout.java 534527 2007-05-02 16:10:59Z tv $
Author:
Peter Courcoux

Constructor Summary
DirectResponseLayout()
           
 
Method Summary
 void doBuild(RunData data)
          Ensures that a direct response has been declared.
 
Methods inherited from class org.apache.turbine.modules.Layout
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectResponseLayout

public DirectResponseLayout()
Method Detail

doBuild

public void doBuild(RunData data)
             throws java.lang.Exception
Ensures that a direct response has been declared.

Specified by:
doBuild in class Layout
Parameters:
data - Turbine information.
Throws:
TurbineException - if a direct response has not been declared.
java.lang.Exception - a generic exception.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.