org.apache.tiles.velocity.template
Interface BodyExecutable

Package class diagram package BodyExecutable
All Known Implementing Classes:
AddAttributeVModel, AddListAttributeVModel, DefinitionVModel, GetAsStringVModel, InsertAttributeVModel, InsertDefinitionVModel, InsertTemplateVModel, PutAttributeVModel, PutListAttributeVModel

public interface BodyExecutable

It represents an object that can be executed, with a body with "start" and "end" operation, under a Velocity+Servlet context.

Since:
2.2.0
Version:
$Rev: 765774 $ $Date: 2009-04-16 23:43:00 +0200 (gio, 16 apr 2009) $

Method Summary
 org.apache.velocity.runtime.Renderable end(HttpServletRequest request, HttpServletResponse response, org.apache.velocity.context.Context velocityContext)
          Ends the execution of the commands.
 void start(HttpServletRequest request, HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,Object> params)
          Starts the execution of the commands.
 

Method Detail

start

void start(HttpServletRequest request,
           HttpServletResponse response,
           org.apache.velocity.context.Context velocityContext,
           Map<String,Object> params)
Starts the execution of the commands.

Parameters:
request - The HTTP request.
response - The HTTP response-
velocityContext - The Velocity context.
params - The map of the parameters.
Since:
2.2.0

end

org.apache.velocity.runtime.Renderable end(HttpServletRequest request,
                                           HttpServletResponse response,
                                           org.apache.velocity.context.Context velocityContext)
Ends the execution of the commands.

Parameters:
request - The HTTP request.
response - The HTTP response-
velocityContext - The Velocity context.
Returns:
A renderable object. It does not necessary render anything.
Since:
2.2.0


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.