about summary refs log tree commit homepage
path: root/ext/http11/Http11Service.java
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-17 03:27:51 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-17 03:27:51 +0000
commit3c411489d16076c2058b904b6b3d7a674643c754 (patch)
tree9b23a1d95ca50cf3fba0e8efa2c72242ad0098fe /ext/http11/Http11Service.java
parent85a3ee1b92d45ef2b4f4288bea156830c24b2702 (diff)
downloadunicorn-3c411489d16076c2058b904b6b3d7a674643c754.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@662 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/Http11Service.java')
-rw-r--r--ext/http11/Http11Service.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/http11/Http11Service.java b/ext/http11/Http11Service.java
new file mode 100644
index 0000000..5d78c49
--- /dev/null
+++ b/ext/http11/Http11Service.java
@@ -0,0 +1,13 @@
+import java.io.IOException;
+        
+import org.jruby.Ruby;
+import org.jruby.runtime.load.BasicLibraryService;
+
+import org.jruby.mongrel.Http11;
+
+public class Http11Service implements BasicLibraryService {
+    public boolean basicLoad(final Ruby runtime) throws IOException {
+        Http11.createHttp11(runtime);
+        return true;
+    }
+}