|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JspService
Implementations of the JspService interface.
| Field Summary | |
|---|---|
static int |
BUFFER_SIZE_DEFAULT
Default Value for Jsp Page Buffer Size |
static java.lang.String |
BUFFER_SIZE_KEY
Property for Jsp Page Buffer Size |
static java.lang.String |
JSP_EXTENSION
The default extension of JSPs |
static java.lang.String |
LINK
The key used to store an instance of JspLink in the request |
static java.lang.String |
RUNDATA
The key used to store an instance of RunData in the request |
static java.lang.String |
SERVICE_NAME
The name used to specify this service in Turbine.properties |
static java.lang.String |
TEMPLATE_PATH_KEY
Property key for Template Pathes |
| Method Summary | |
|---|---|
void |
addDefaultObjects(RunData data)
Adds some convenience objects to the request. |
int |
getDefaultBufferSize()
Returns the default buffer size of the JspService |
java.lang.String |
getRelativeTemplateName(java.lang.String template)
Searchs 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 |
void |
handleRequest(RunData data,
java.lang.String templateName)
executes the JSP given by templateName. |
void |
handleRequest(RunData data,
java.lang.String templateName,
boolean isForward)
executes the JSP given by templateName. |
| Methods inherited from interface org.apache.turbine.services.Service |
|---|
getConfiguration, getName, getProperties, setName, setServiceBroker |
| Methods inherited from interface org.apache.turbine.services.Initable |
|---|
getInit, init, init, setInitableBroker, shutdown |
| Field Detail |
|---|
static final java.lang.String SERVICE_NAME
static final java.lang.String RUNDATA
static final java.lang.String LINK
static final java.lang.String JSP_EXTENSION
static final java.lang.String TEMPLATE_PATH_KEY
static final java.lang.String BUFFER_SIZE_KEY
static final int BUFFER_SIZE_DEFAULT
| Method Detail |
|---|
void addDefaultObjects(RunData data)
data - the turbine rundata object
void handleRequest(RunData data,
java.lang.String templateName,
boolean isForward)
throws TurbineException
data - A RunData ObjecttemplateName - The template to executeisForward - whether to perform a forward or include.
TurbineException - If a problem occured while executing the JSP
void handleRequest(RunData data,
java.lang.String templateName)
throws TurbineException
data - A RunData ObjecttemplateName - The template to execute
TurbineException - If a problem occured while executing the JSPint getDefaultBufferSize()
java.lang.String getRelativeTemplateName(java.lang.String template)
template - The name of the template to search for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||