Mercurial Hosting > luan
comparison src/luan/modules/http/NotFound.java @ 1171:794ddcfbee20
remove http/impl
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 02:41:23 -0700 |
parents | src/luan/modules/http/impl/NotFound.java@7e6f28c769a1 |
children | 643cf1c37723 |
comparison
equal
deleted
inserted
replaced
1170:3a0f58d09ee7 | 1171:794ddcfbee20 |
---|---|
1 package luan.modules.http; | |
2 | |
3 import luan.webserver.Request; | |
4 import luan.webserver.Response; | |
5 import luan.webserver.Handler; | |
6 | |
7 | |
8 public class NotFound implements Handler { | |
9 private final LuanHandler luanHandler; | |
10 | |
11 public NotFound(LuanHandler luanHandler) { | |
12 this.luanHandler = luanHandler; | |
13 } | |
14 | |
15 @Override public Response handle(Request request) { | |
16 return luanHandler.handle(request,"site:/not_found.luan"); | |
17 } | |
18 | |
19 } |