@Deprecated public class GetAsStringVModel extends 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,
javax.servlet.ServletContext servletContext)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
org.apache.velocity.runtime.Renderable |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext,
Map<String,Object> params)
Deprecated.
Executes the command.
|
void |
start(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext,
Map<String,Object> params)
Deprecated.
Starts the execution of the commands.
|
public GetAsStringVModel(GetAsStringModel model, javax.servlet.ServletContext servletContext)
model
- The template model.servletContext
- The servlet context.public org.apache.velocity.runtime.Renderable execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,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 org.apache.velocity.runtime.Renderable end(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext)
end
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.Copyright © 2017. All rights reserved.