com.opensymphony.module.sitemesh.freemarker
Class FreemarkerDecoratorServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byfreemarker.ext.servlet.FreemarkerServlet
              extended bycom.opensymphony.module.sitemesh.freemarker.FreemarkerDecoratorServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class FreemarkerDecoratorServlet
extends FreemarkerServlet

Servlet that allows Freemarker templates to be used as decorators.

Version:
$Revision: 1.2 $
Author:
Richard HALLIER
See Also:
Serialized Form

Field Summary
 
Fields inherited from class freemarker.ext.servlet.FreemarkerServlet
debug, KEY_APPLICATION, KEY_JSP_TAGLIBS, KEY_REQUEST, KEY_REQUEST_PARAMETERS, KEY_SESSION, serialVersionUID
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Constructor Summary
FreemarkerDecoratorServlet()
           
 
Method Summary
protected  boolean preTemplateProcess(HttpServletRequest request, HttpServletResponse response, Template template, TemplateModel templateModel)
           
 
Methods inherited from class freemarker.ext.servlet.FreemarkerServlet
createConfiguration, createModel, createObjectWrapper, createRequestParametersHashModel, deduceLocale, doGet, doPost, getConfiguration, getObjectWrapper, getTemplatePath, init, initializeServletContext, initializeSession, postTemplateProcess, preprocessRequest, requestUrlToTemplatePath
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreemarkerDecoratorServlet

public FreemarkerDecoratorServlet()
Method Detail

preTemplateProcess

protected boolean preTemplateProcess(HttpServletRequest request,
                                     HttpServletResponse response,
                                     Template template,
                                     TemplateModel templateModel)
                              throws ServletException,
                                     IOException
Throws:
ServletException
IOException

www.opensymphony.com/sitemesh/