Mercurial Hosting > luan
comparison web/src/luan/modules/web/NotFound.java @ 377:a8d03e6882c6
add web/NotFound.java
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 19 Apr 2015 07:27:23 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
376:0a75ed73bccc | 377:a8d03e6882c6 |
---|---|
1 package luan.modules.web; | |
2 | |
3 import java.io.IOException; | |
4 import javax.servlet.http.HttpServletRequest; | |
5 import javax.servlet.http.HttpServletResponse; | |
6 import org.eclipse.jetty.server.Request; | |
7 import luan.LuanState; | |
8 | |
9 | |
10 public class NotFound extends LuanHandler { | |
11 | |
12 public NotFound(LuanState luan) { | |
13 super(luan); | |
14 } | |
15 | |
16 public void handle(String target,Request baseRequest,HttpServletRequest request,HttpServletResponse response) | |
17 throws IOException | |
18 { | |
19 super.handle("/not_found",baseRequest,request,response); | |
20 } | |
21 | |
22 } |