adapforms.web.handlers.xhtml
Class XHTMLController

java.lang.Object
  extended by adapforms.web.handlers.xhtml.XHTMLController
All Implemented Interfaces:
Controller

public class XHTMLController
extends java.lang.Object
implements Controller

XHTML/AJAX specific control handler.
User events are sent through AJAX HTTP requests as XML, and in turn a list of adaptations are returned, also as XML.

Author:
Henrik Gammelmark, geemark@cs.au.dk

Constructor Summary
XHTMLController()
           
 
Method Summary
 void invoke(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, WebSession s)
          Invoke the handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHTMLController

public XHTMLController()
Method Detail

invoke

public void invoke(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse resp,
                   WebSession s)
            throws java.lang.Exception
Description copied from interface: Controller
Invoke the handler.

Specified by:
invoke in interface Controller
Parameters:
req - HTTP request
resp - HTTP response
s - Web session in question
Throws:
java.lang.Exception - if something goes wrong in the process