Mercurial Hosting > luan
comparison src/luan/lib/HttpLib.java @ 135:3119326260ea
revert rev 125 and only preload Java
git-svn-id: https://luan-java.googlecode.com/svn/trunk@136 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 11 Jun 2014 06:30:46 +0000 |
parents | 0594c132888b |
children | 7e160d2f6d9c |
comparison
equal
deleted
inserted
replaced
134:b585d0915621 | 135:3119326260ea |
---|---|
19 import luan.LuanExitException; | 19 import luan.LuanExitException; |
20 | 20 |
21 | 21 |
22 public final class HttpLib { | 22 public final class HttpLib { |
23 | 23 |
24 private static final String NAME = "Http"; | 24 public static final String NAME = "Http"; |
25 public static final String FN_NAME = "Http.server"; | 25 public static final String FN_NAME = "Http.server"; |
26 | 26 |
27 public static void load(LuanState luan) throws LuanException { | 27 public static void load(LuanState luan) throws LuanException { |
28 PackageLib.require(luan,NAME); | 28 PackageLib.require(luan,NAME); |
29 Object fn = luan.get(HttpLib.FN_NAME); | 29 Object fn = luan.get(HttpLib.FN_NAME); |