Mercurial Hosting > luan
comparison web/src/luan/modules/web/Http.luan @ 377:a8d03e6882c6
add web/NotFound.java
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 19 Apr 2015 07:27:23 -0600 |
parents | cd2924a1052c |
children | 507c0af598ba |
comparison
equal
deleted
inserted
replaced
376:0a75ed73bccc | 377:a8d03e6882c6 |
---|---|
1 java() | |
2 local Luan = require "luan:Luan" | 1 local Luan = require "luan:Luan" |
3 local ipairs = Luan.ipairs | 2 local ipairs = Luan.ipairs |
4 local to_string = Luan.to_string | 3 local to_string = Luan.to_string |
5 local Table = require "luan:Table" | 4 local Table = require "luan:Table" |
6 require "luan:logging/Logging" -- initialize logging | 5 require "luan:logging/Logging" -- initialize logging |
7 local LuanHandler = require "java:luan.modules.web.LuanHandler" | |
8 | 6 |
9 | |
10 function new_luan_handler() | |
11 return LuanHandler.new() | |
12 end | |
13 | 7 |
14 | 8 |
15 | 9 |
16 function init_for_test() | 10 function init_for_test() |
17 | 11 |