@Contract(threading=STATELESS) public interface HttpServerRequestHandler
| Modifier and Type | Interface and Description |
|---|---|
static interface |
HttpServerRequestHandler.ResponseTrigger
Response trigger that can be used to submit a final HTTP response
and terminate HTTP request processing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ClassicHttpRequest request,
HttpServerRequestHandler.ResponseTrigger responseTrigger,
HttpContext context)
Handles the request and submits a final response to be sent back to the client.
|
void handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger responseTrigger, HttpContext context) throws HttpException, IOException
request - the actual request.responseTrigger - the response trigger.context - the actual execution context.HttpException - in case of an HTTP protocol violation.IOException - in case of an I/O error.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.