net.sf.j2ep.model
Interface RequestHandler

All Known Implementing Classes:
BasicRequestHandler, EntityEnclosingRequestHandler, MaxForwardRequestHandler, RequestHandlerBase

public interface RequestHandler

A handler for all requests. Will set the headers, process any input stream and do any method specific actions.

Author:
Anders Nyman

Method Summary
 org.apache.commons.httpclient.HttpMethod process(HttpServletRequest request, java.lang.String url)
          Creates a new HttpMethod for this request.
 

Method Detail

process

org.apache.commons.httpclient.HttpMethod process(HttpServletRequest request,
                                                 java.lang.String url)
                                                 throws java.io.IOException
Creates a new HttpMethod for this request. Will then set the headers and any other information needed for this request.

Parameters:
request - The request we are processing
url - URL to bind the method to
Returns:
The method we have created
Throws:
java.io.IOException - An exception is thrown when there is a problem with the input supplied by the request