org.paneris.messageboard.controller
Class MessageBoard

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.webmacro.servlet.PanerisPage
              extended by org.paneris.messageboard.controller.MessageBoard
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.webmacro.WebMacro

public class MessageBoard
extends PanerisPage

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.webmacro.servlet.PanerisPage
_log
 
Fields inherited from interface org.webmacro.WebMacro
BUILD_DATE, VERSION
 
Constructor Summary
MessageBoard()
           
 
Method Summary
 org.webmacro.Template handle(org.webmacro.servlet.WebContext context)
          This method is called to handle the processing of a request.
 
Methods inherited from class org.webmacro.servlet.PanerisPage
destroy, destroyContext, doGet, doPost, error, execute, getBroker, getConfig, getConfig, getContext, getErrorTemplate, getErrorTemplateName, getErrorVariableName, getFastWriter, getLog, getLog, getTemplate, getURL, getWebContext, init, init, initWebContext, initWebMacro, newContext, newWebContext, setLocale, start, stop, writeTemplate, writeTemplate
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageBoard

public MessageBoard()
Method Detail

handle

public org.webmacro.Template handle(org.webmacro.servlet.WebContext context)
                             throws org.webmacro.servlet.HandlerException
Description copied from class: PanerisPage
This method is called to handle the processing of a request. It should analyze the data in the request, put whatever values are required into the context, and return the appropriate view.

Specified by:
handle in class PanerisPage
Parameters:
context - contains all relevant data structures, incl builtins.
Returns:
the template to be rendered by the WebMacro engine
Throws:
HandlerException - throw this to produce vanilla error messages


Copyright © 2000-2008 PanEris. All Rights Reserved.