mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
fc9a6d0352
- Renamed http11_java to plain http11 to avoid require conditionals - Updated Manifest to reflect the change - Updated JavaExtensionTask to reflect the change
13 lines
344 B
Java
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;
|
|
}
|
|
}
|