public abstract class TurbineJsp extends Object
Constructor and Description |
---|
TurbineJsp() |
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultObjects(PipelineData pipelineData)
Adds some convenience objects to the request.
|
static int |
getDefaultBufferSize()
Returns the default buffer size of the JspService
|
static String |
getRelativeTemplateName(String template)
Searches for a template in the default.template path[s] and
returns the template name with a relative path which is required
by javax.servlet.RequestDispatcher
|
protected static JspService |
getService()
Utility method for accessing the service
implementation
|
static void |
handleRequest(PipelineData pipelineData,
String templateName)
executes the JSP given by templateName.
|
static void |
handleRequest(PipelineData pipelineData,
String templateName,
boolean isForward)
executes the JSP given by templateName.
|
public TurbineJsp()
protected static JspService getService()
public static void addDefaultObjects(PipelineData pipelineData)
pipelineData
- the Turbine PipelineData objectpublic static void handleRequest(PipelineData pipelineData, String templateName, boolean isForward) throws TurbineException
pipelineData
- A PipelineData ObjecttemplateName
- The template to executeisForward
- whether to perform a forward or include.TurbineException
- If a problem occurred while executing the JSPpublic static void handleRequest(PipelineData pipelineData, String templateName) throws TurbineException
pipelineData
- A PipelineData ObjecttemplateName
- The template to executeTurbineException
- If a problem occurred while executing the JSPpublic static int getDefaultBufferSize()
public static String getRelativeTemplateName(String template)
template
- The name of the template to search for.Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.