@Test public void testAsyncExceptionIssue231() throws Exception { stat.setAlwaysAsyncFS(true); testRequest(HttpMethod.GET, "/non_existing.html", 404, "Not Found"); }
/** * Set whether async filesystem access should always be used * @param alwaysAsyncFS true for always async FS access * @return a reference to this, so the API can be used fluently */ public io.vertx.rxjava.ext.web.handler.StaticHandler setAlwaysAsyncFS(boolean alwaysAsyncFS) { delegate.setAlwaysAsyncFS(alwaysAsyncFS); return this; }
/** * Set whether async filesystem access should always be used * @param alwaysAsyncFS true for always async FS access * @return a reference to this, so the API can be used fluently */ public io.vertx.rxjava.ext.web.handler.StaticHandler setAlwaysAsyncFS(boolean alwaysAsyncFS) { delegate.setAlwaysAsyncFS(alwaysAsyncFS); return this; }
@Test public void testAsyncExceptionIssue231() throws Exception { stat.setAlwaysAsyncFS(true); testRequest(HttpMethod.GET, "/non_existing.html", 404, "Not Found"); }