Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tiles.velocity.template
Interface BodyExecutable

All Known Implementing Classes:
  AddAttributeVModel, AddListAttributeVModel, DefinitionVModel, GetAsStringVModel, InsertAttributeVModel, InsertDefinitionVModel, InsertTemplateVModel, PutAttributeVModel, PutListAttributeVModel

Deprecated. Use Velocity directives.

    @Deprecated
    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: 902403 $ $Date: 2010-01-23 14:31:17 +0100 (sab, 23 gen 2010) $

Method Summary
`org.apache.velocity.runtime.Renderable` | `end(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext)` Deprecated. Ends the execution of the commands.
`void` | `start(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, java.util.Map<java.lang.String,java.lang.Object> params)` Deprecated. Starts the execution of the commands.

Method Detail

### start

    void start(javax.servlet.http.HttpServletRequest request,
               javax.servlet.http.HttpServletResponse response,
               org.apache.velocity.context.Context velocityContext,
               java.util.Map<java.lang.String,java.lang.Object> params)

  Deprecated.
  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(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response,
                                               org.apache.velocity.context.Context velocityContext)

  Deprecated.
  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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