public interface RequestHandler
| Modifier and Type | Method and Description |
|---|---|
HTTPResponse |
answer(RestServer server,
HTTPRequest request)
Answers to the given HTTP request.
|
HTTPResponse answer(RestServer server, HTTPRequest request)
server - the server handling the request.request - the HTTP request.null otherwise.