WUI : API


org.westofj.wui
Class WController

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.westofj.wui.WController
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class WController
extends HttpServlet

The servlet which links the WApplication and WRunner instances to the underlying web application framework. The controlling servlet is not intended to be extended by the client, rather the WApplication and WRunner may be extended to implement web user interfaces.

Typically WApplication is extended to capture global state of the application across multiple users, while WRunner is extended to provided functionality and server side state to a single user.

Version:
$Revision: 1.7 $, $Date: 2004/03/08 01:57:35 $
Author:
bill
See Also:
Serialized Form

Constructor Summary
WController()
          Constructs a controlling servlet.
 
Method Summary
 void destroy()
           
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void doPost(HttpServletRequest request, HttpServletResponse response)
           
 void init(ServletConfig config)
           
 
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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WController

public WController()
Constructs a controlling servlet.

Method Detail

init

public final void init(ServletConfig config)
                throws ServletException
Throws:
ServletException

destroy

public final void destroy()

doGet

public final void doGet(HttpServletRequest request,
                        HttpServletResponse response)
                 throws ServletException,
                        IOException
Throws:
ServletException
IOException

doPost

public final void doPost(HttpServletRequest request,
                         HttpServletResponse response)
                  throws ServletException,
                         IOException
Throws:
ServletException
IOException

Copyright (c) 2003 West of J - All rights reserved.