|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.dispatcher.GroovyDispatcher
GroovyDispatcher
Field Summary |
Constructor Summary | |
GroovyDispatcher()
Default constructor |
Method Summary | |
void |
dispatch(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
BlogUser user,
java.util.Map context,
java.lang.String flavorTemplate,
java.lang.String flavorContentType)
Dispatch a request and response. |
void |
init(javax.servlet.ServletConfig servletConfig,
BlojsomConfiguration blojsomConfiguration)
Initialization method for blojsom dispatchers |
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 init(javax.servlet.ServletConfig servletConfig, BlojsomConfiguration blojsomConfiguration) throws BlojsomException
init
in interface BlojsomDispatcher
servletConfig
- ServletConfig for obtaining any initialization parametersblojsomConfiguration
- BlojsomConfiguration for blojsom-specific configuration information
BlojsomException
- If there is an error initializing the dispatcherpublic void dispatch(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, BlogUser user, java.util.Map context, java.lang.String flavorTemplate, java.lang.String flavorContentType) throws java.io.IOException, javax.servlet.ServletException
dispatch
in interface BlojsomDispatcher
httpServletRequest
- RequesthttpServletResponse
- Responseuser
- BlogUser
instancecontext
- 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 |