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

Method main

lib/js/test/src/test/Httpd.java:92–100  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

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

Callers 13

mainFunction · 0.45
mainFunction · 0.45
test_socket.pyFile · 0.45
thrift_json.pyFile · 0.45
test_sslsocket.pyFile · 0.45

Calls 1

startMethod · 0.45

Tested by

no test coverage detected