diff options
Diffstat (limited to 'ext/http11_java/Http11Service.java')
-rw-r--r-- | ext/http11_java/Http11Service.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/http11_java/Http11Service.java b/ext/http11_java/Http11Service.java new file mode 100644 index 0000000..5d78c49 --- /dev/null +++ b/ext/http11_java/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; + } +} |