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