Mercurial Hosting > luan
comparison web/src/luan/modules/web/Http.luan @ 323:cd2924a1052c
improve testing
git-svn-id: https://luan-java.googlecode.com/svn/trunk@324 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 09 Feb 2015 04:33:21 +0000 |
parents | 7f7708e8fdd4 |
children | a8d03e6882c6 |
comparison
equal
deleted
inserted
replaced
322:f8ece87df2b1 | 323:cd2924a1052c |
---|---|
1 java() | 1 java() |
2 local Luan = require "luan:Luan" | 2 local Luan = require "luan:Luan" |
3 local ipairs = Luan.ipairs | 3 local ipairs = Luan.ipairs |
4 local to_string = Luan.to_string | 4 local to_string = Luan.to_string |
5 local Table = require "luan:Table" | 5 local Table = require "luan:Table" |
6 require "luan:logging/Logging" -- initialize logging | |
6 local LuanHandler = require "java:luan.modules.web.LuanHandler" | 7 local LuanHandler = require "java:luan.modules.web.LuanHandler" |
7 | 8 |
8 | 9 |
9 function new_luan_handler() | 10 function new_luan_handler() |
10 return LuanHandler.new() | 11 return LuanHandler.new() |