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(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(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(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Parameters:
name
- request
- response
-
renderHtml
public void renderHtml(String view)
throws IOException
- Calls the render method.
- Throws:
IOException
- See Also:
MVCServletHandler.renderHtml(java.lang.String)
render
protected abstract void render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Does the rendering job. You have to override this method.
- Parameters:
request
- response
-
- Throws:
Exception
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.