Webserv
|
Handles the generation of not found(404). More...
#include <Handler.hpp>
Public Member Functions | |
HttpResponse | handle (HttpRequest const &req, config::ServerBlock const *s=NULL, config::LocationBlock const *l=NULL) const |
The primary handler logic entry point. | |
Public Member Functions inherited from http::IHandler | |
virtual | ~IHandler () |
HttpResponse | handle (HttpRequest const &h, RouterResult const &r) const |
Convenience overload to handle a request using a RouterResult. |
Handles the generation of not found(404).
|
virtual |
The primary handler logic entry point.
request | The client's HTTP request. |
server | The matched server configuration context. |
location | The matched location configuration context. |
Implements http::IHandler.