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, IOException
request - the HTTP request.response - the HTTP response.context - the HTTP execution context.IOException - in case of an I/O error.HttpException - in case of HTTP protocol violation or a processing
problem.Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.