public interface HttpRequestHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handle(HttpRequest request,
HttpResponse response,
HttpContext context)
Handles the request and produces a response to be sent back to
the client.
|
void handle(HttpRequest request, HttpResponse response, HttpContext context) throws HttpException, java.io.IOException
request - the HTTP request.response - the HTTP response.context - the HTTP execution context.java.io.IOException - in case of an I/O error.HttpException - in case of HTTP protocol violation or a processing
problem.