public static void main(String[] args) {
Map<String, RequestHandler> handlers = Maps.newHashMap();
handlers.put("/", new ExampleRequestHandler());
Application application = new Application(handlers);
application.setStaticContentDir("static");
// HttpServerDescriptor.KEEP_ALIVE_TIMEOUT = 30 * 1000; // 30s
// HttpServerDescriptor.READ_BUFFER_SIZE = 1500; // 1500 bytes
// HttpServerDescriptor.WRITE_BUFFER_SIZE = 1500; // 1500 bytes