Mercurial Hosting > luan
annotate http/src/luan/modules/http/NotFound.java @ 627:a98812908fbc
add loggerRoot param to LuanHandler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 18 Jan 2016 05:50:24 -0700 |
parents | 8dcf9e12446b |
children |
rev | line source |
---|---|
494
2b9bc97f0439
change luan:web to luan:http
Franklin Schmidt <fschmidt@gmail.com>
parents:
493
diff
changeset
|
1 package luan.modules.http; |
377 | 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 | |
627
a98812908fbc
add loggerRoot param to LuanHandler
Franklin Schmidt <fschmidt@gmail.com>
parents:
517
diff
changeset
|
12 public NotFound(LuanState luan,String loggerRoot) { |
a98812908fbc
add loggerRoot param to LuanHandler
Franklin Schmidt <fschmidt@gmail.com>
parents:
517
diff
changeset
|
13 super(luan,loggerRoot); |
377 | 14 } |
15 | |
517
8dcf9e12446b
add Luan.on_luan_close()
Franklin Schmidt <fschmidt@gmail.com>
parents:
494
diff
changeset
|
16 @Override public void handle(String target,Request baseRequest,HttpServletRequest request,HttpServletResponse response) |
377 | 17 throws IOException |
18 { | |
19 super.handle("/not_found",baseRequest,request,response); | |
20 } | |
21 | |
22 } |