| java.lang.Object org.blojsom.dispatcher.groovy.GroovyDispatcher
GroovyDispatcher | public class GroovyDispatcher implements Dispatcher(Code) | | GroovyDispatcher
author: David Czarnecki since: blojsom 3.0 version: $Id: GroovyDispatcher.java,v 1.2 2007/01/17 01:15:46 czarneckid Exp $ |
GroovyDispatcher | public GroovyDispatcher()(Code) | | Default constructor
|
dispatch | public void dispatch(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, String flavorTemplate, String flavorContentType) throws IOException, ServletException(Code) | | Dispatch a request and response. A context map is provided for the BlojsomServlet to pass
any required information for use by the dispatcher. The dispatcher is also
provided with the template for the requested flavor along with the content type for the
specific flavor.
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog Parameters: context - Context map Parameters: flavorTemplate - Template to dispatch to for the requested flavor Parameters: flavorContentType - Content type for the requested flavor throws: java.io.IOException - If there is an exception during IO throws: javax.servlet.ServletException - If there is an exception in dispatching the request |
setBlojsomProperties | public void setBlojsomProperties(Properties blojsomProperties)(Code) | | Set the properties in use by blojsom
Parameters: blojsomProperties - Properties in use by blojsom |
|
|