uk.ltd.getahead.dwr
Interface Processor
- All Known Implementing Classes:
- DefaultExecProcessor, DefaultIndexProcessor, DefaultInterfaceProcessor, DefaultProcessor, DefaultTestProcessor
- public interface Processor
Handler is a bit like a servlet except that we don't need to ask users to
put stuff into WEB-INF/web.xml we can configure it ourselves. We also don't
distinguish between GET and POST at a method level.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Method Summary |
void |
handle(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle a request, the equivalent of doGet and doPost |
handle
public void handle(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Handle a request, the equivalent of doGet and doPost
- Parameters:
req
- The HTTP request parametersresp
- The HTTP response data
- Throws:
java.io.IOException
- If i/o fails
javax.servlet.ServletException
- Other failures