1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/ext/http11/Http11Service.java
Luis Lavena fc9a6d0352 Relocate Http11 JRuby extension.
- Renamed http11_java to plain http11 to avoid require conditionals
- Updated Manifest to reflect the change
- Updated JavaExtensionTask to reflect the change
2010-01-19 01:15:24 -03:00

13 lines
344 B
Java

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;
}
}