Mercurial Hosting > luan
view src/luan/modules/http/NotFound.java @ 1358:1d31c1f3ea30
better not_found_handler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 19 Apr 2019 00:47:58 -0600 |
parents | 643cf1c37723 |
children | a3d0d1c2ce89 |
line wrap: on
line source
package luan.modules.http; import luan.lib.webserver.Request; import luan.lib.webserver.Response; import luan.lib.webserver.Handler; public class NotFound implements Handler { private final LuanHandler luanHandler; public NotFound(LuanHandler luanHandler) { this.luanHandler = luanHandler; } @Override public Response handle(Request request) { return luanHandler.handle(request,true); } }