org.directwebremoting.extend
Interface Handler

All Known Implementing Classes:
AboutHandler, AuthHandler, BaseCallHandler, BaseDwrpHandler, BasePollHandler, CachingHandler, DownloadHandler, DtoAllHandler, DtoHandler, DwrStoreHandler, EngineHandler, ExceptionHandler, FileJavaScriptHandler, GeneratedJavaScriptHandler, GiHandler, HtmlCallHandler, HtmlPollHandler, IndexHandler, InterfaceHandler, JavaScriptHandler, JaxerInterfaceHandler, JsonpCallHandler, JsonRpcCallHandler, MonitorHandler, NotFoundHandler, PlainCallHandler, PlainPollHandler, TemplateHandler, TestHandler, UrlProcessor, UtilHandler, WebworkUtilHandler

public interface Handler

A handler is a very simple servlet that does not differentiate between GET and POST, or need complex setup beyond what the container can provide

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

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
 

Method Detail

handle

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

Parameters:
request - The HTTP request data
response - Where we write the HTTP response data
Throws:
java.io.IOException - If the write process fails

Copyright 2008