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