if (_server.serverLog() != null) {
_server.serverLog().logRequest(exchange.getRequestURI(),
exchange.get().getRemoteAddress(),
exchange.get().getResponseHeaders());
}
RequestURL url = new RequestURL(exchange, _database.identifier().linkPrefix());
if (url.isDataRequest()) {
respondToDataRequest(new WikiDataRequest(this, url),
exchange);
} else if (url.isPageRequest()) {
respondToPageRequest(new WikiPageRequest(this, url),
exchange);
} else if (url.isSchemaRequest()) {
respondToSchemaRequest(new WikiSchemaRequest(this, url),
exchange);
}
}
} catch (org.dbwiki.exception.WikiException wikiException) {