@Deprecated public class GetAsStringVModel extends java.lang.Object implements Executable, BodyExecutable
GetAsStringModel
to be used in Velocity. For the list of
parameters, see
GetAsStringModel#start(java.util.Stack, TilesContainer, boolean,
String, String, Object, String, String, String, Attribute, Object...)
, GetAsStringModel#end(java.util.Stack, TilesContainer, Writer, boolean, Object...)
and
GetAsStringModel.execute(TilesContainer, Writer, boolean, String,
String, Object, String, String, String, Attribute, Object...)
.Constructor and Description |
---|
GetAsStringVModel(GetAsStringModel model,
ServletContext servletContext)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Renderable |
end(HttpServletRequest request,
HttpServletResponse response,
Context velocityContext)
Deprecated.
Ends the execution of the commands.
|
Renderable |
execute(HttpServletRequest request,
HttpServletResponse response,
Context velocityContext,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Executes the command.
|
void |
start(HttpServletRequest request,
HttpServletResponse response,
Context velocityContext,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Starts the execution of the commands.
|
public GetAsStringVModel(GetAsStringModel model, ServletContext servletContext)
model
- The template model.servletContext
- The servlet context.public Renderable execute(HttpServletRequest request, HttpServletResponse response, Context velocityContext, java.util.Map<java.lang.String,java.lang.Object> params)
execute
in interface Executable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.public void start(HttpServletRequest request, HttpServletResponse response, Context velocityContext, java.util.Map<java.lang.String,java.lang.Object> params)
start
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.public Renderable end(HttpServletRequest request, HttpServletResponse response, Context velocityContext)
end
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.