org.directwebremoting.servlet
Class MonitorHandler

java.lang.Object
  extended by org.directwebremoting.servlet.MonitorHandler
All Implemented Interfaces:
Handler

public class MonitorHandler
extends java.lang.Object
implements Handler

A monitoring system so we can see what is going on inside DWR

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
MonitorHandler()
           
 
Method Summary
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle a URL request that has been mapped to this Handler
 void setDebug(boolean debug)
          Set the debug status
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorHandler

public MonitorHandler()
Method Detail

handle

public void handle(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException
Description copied from interface: Handler
Handle a URL request that has been mapped to this Handler

Specified by:
handle in interface Handler
Parameters:
request - The HTTP request data
response - Where we write the HTTP response data
Throws:
java.io.IOException - If the write process fails

setDebug

public void setDebug(boolean debug)
Set the debug status

Parameters:
debug - The new debug setting

Copyright 2008