org.mortbay.http
public interface HttpHandler extends LifeCycle, Serializable
Version: $Id: HttpHandler.java,v 1.11 2005/03/15 10:03:40 gregwilkins Exp $
See Also: HttpServer HttpContext
| Method Summary | |
|---|---|
| HttpContext | getHttpContext() |
| String | getName() Get the name of the handler. |
| void | handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response) Handle a request.
|
| void | initialize(HttpContext context) |
Returns: The name of the handler used for logging and reporting.
Parameters: pathInContext The context path pathParams Path parameters such as encoded Session ID request The HttpRequest request response The HttpResponse response