public interface HttpRequestHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handle(ClassicHttpRequest request,
ClassicHttpResponse response,
HttpContext context)
Handles the request and produces a response to be sent back to
the client.
|
void handle(ClassicHttpRequest request, ClassicHttpResponse 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 © 2023. All rights reserved.