public interface RequestHandler
Implementations must be thread-safe to protect themselves against concurrent calls from different jobs.
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpRequest request,
HttpResponse response)
Processes the request and return the appropriate response.
|
void process(HttpRequest request, HttpResponse response)
request - the HttpRequest to process.response - the HttpResponse to send.