|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--freemarker.template.TemplateServletUtils
A class containing static utility methods to facilitate using templates with servlets.
Constructor Summary | |
TemplateServletUtils()
|
Method Summary | |
static TemplateModelRoot |
copyRequest(javax.servlet.ServletRequest req)
Copies the parameters from a ServletRequest into an empty data model, in a hash called request. |
static void |
copyRequest(javax.servlet.ServletRequest req,
TemplateModelRoot modelRoot)
Copies the parameters from a ServletRequest into a data model, in a hash called request. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TemplateServletUtils()
Method Detail |
public static void copyRequest(javax.servlet.ServletRequest req, TemplateModelRoot modelRoot)
req
- the ServletRequest containing the
parameters to be saved.modelRoot
- the root node of the data model.public static TemplateModelRoot copyRequest(javax.servlet.ServletRequest req)
req
- the ServletRequest containing the
parameters to be saved.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |