info.magnolia.module.admininterface
Class SimplePageMVCHandler
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.PageMVCHandler
info.magnolia.module.admininterface.SimplePageMVCHandler
- All Implemented Interfaces:
- MVCServletHandler
- Direct Known Subclasses:
- LinkBrowserDialogPage
public abstract class SimplePageMVCHandler
- extends PageMVCHandler
This is a simple default implementation. Overwrite the render method to process the page.
- Version:
- $Revision: 41137 $ ($Author: gjoseph $)
- Author:
- Philipp Bracher
Constructor Summary |
SimplePageMVCHandler(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary |
protected abstract void |
render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Does the rendering job. |
void |
renderHtml(java.lang.String view)
Calls the render method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePageMVCHandler
public SimplePageMVCHandler(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Parameters:
name
- request
- response
-
renderHtml
public void renderHtml(java.lang.String view)
throws java.io.IOException
- Calls the render method.
- Throws:
java.io.IOException
- See Also:
MVCServletHandler.renderHtml(java.lang.String)
render
protected abstract void render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Does the rendering job. You have to override this method.
- Parameters:
request
- response
-
- Throws:
java.lang.Exception
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.