Merge pull request #970 from WalkerWatch/issues/943

Resolves #943
This commit is contained in:
Jesse McConnell 2016-09-29 11:21:58 -05:00 committed by GitHub
commit 459506d89b
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ public class FileServer
// Add the ResourceHandler to the server.
HandlerList handlers = new HandlerList();
handlers.setHandlers(new Handler[] { resource_handler, new DefaultHandler() });
server.setHandler(handlers);
// Start things up! By using the server.join() the server thread will join with the current thread.
// See "http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Thread.html#join()" for more details.