(String[] args)
| 90 | public 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 |
no test coverage detected