MCPcopy Create free account
hub / github.com/apache/thrift / main

Method main

tutorial/js/src/Httpd.java:87–95  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

85public class Httpd {
86
87 public static void main(String[] args) throws Exception {
88 if (args.length < 1) {
89 System.err.println("Please specify document root directory");
90 System.exit(1);
91 }
92 Thread t = new RequestListenerThread(8088, args[0]);
93 t.setDaemon(false);
94 t.start();
95 }
96
97 static class HttpFileHandler implements HttpRequestHandler {
98

Callers 6

staleness_check.pyFile · 0.45
TestEof.pyFile · 0.45
TestFrozen.pyFile · 0.45

Calls 1

startMethod · 0.45

Tested by

no test coverage detected