org.directwebremoting.servlet
Class TestHandler

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

public class TestHandler
extends java.lang.Object
implements Handler

A handler for requests to create a class debug page

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

Constructor Summary
TestHandler()
           
 
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 setDebugPageGenerator(DebugPageGenerator debugPageGenerator)
          Setter for the debug page generator
 void setTestHandlerUrl(java.lang.String testHandlerUrl)
          Setter for the URL that this handler available on
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHandler

public TestHandler()
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

setDebugPageGenerator

public void setDebugPageGenerator(DebugPageGenerator debugPageGenerator)
Setter for the debug page generator

Parameters:
debugPageGenerator - The new debug page generator

setTestHandlerUrl

public void setTestHandlerUrl(java.lang.String testHandlerUrl)
Setter for the URL that this handler available on

Parameters:
testHandlerUrl - the testHandlerUrl to set

Copyright 2008