|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.dispatcher.groovy.GroovyDispatcher
GroovyDispatcher
Constructor Summary | |
GroovyDispatcher()
Default constructor |
Method Summary | |
void |
dispatch(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Blog blog,
java.util.Map context,
java.lang.String flavorTemplate,
java.lang.String flavorContentType)
Dispatch a request and response. |
void |
init()
Initialization method for blojsom dispatchers |
void |
setBlojsomProperties(java.util.Properties blojsomProperties)
Set the properties in use by blojsom |
void |
setServletConfig(javax.servlet.ServletConfig servletConfig)
Set the ServletConfig |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroovyDispatcher()
Method Detail |
public void setBlojsomProperties(java.util.Properties blojsomProperties)
blojsomProperties
- Properties in use by blojsompublic void setServletConfig(javax.servlet.ServletConfig servletConfig)
ServletConfig
servletConfig
- ServletConfig
public void init() throws BlojsomException
init
in interface Dispatcher
BlojsomException
- If there is an error initializing the dispatcherpublic void dispatch(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Blog blog, java.util.Map context, java.lang.String flavorTemplate, java.lang.String flavorContentType) throws java.io.IOException, javax.servlet.ServletException
dispatch
in interface Dispatcher
httpServletRequest
- RequesthttpServletResponse
- Responseblog
- Blog
context
- Context mapflavorTemplate
- Template to dispatch to for the requested flavorflavorContentType
- Content type for the requested flavor
java.io.IOException
- If there is an exception during IO
javax.servlet.ServletException
- If there is an exception in dispatching the request
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |