try {
// serverLog.info("Fuseki Server Config servlet") ;
PrintWriter out = resp.getWriter() ;
resp.setContentType("text/plain") ;
SPARQLServer server = Fuseki.getServer() ;
out.println("Software:") ;
String fusekiVersion = Fuseki.VERSION ;
if ( fusekiVersion.equals("${project.version}") )
fusekiVersion = "(development)" ;
out.printf(" %s %s\n", Fuseki.NAME, fusekiVersion) ;
out.printf(" %s %s\n", TDB.NAME, TDB.VERSION) ;
out.printf(" %s %s\n", ARQ.NAME, ARQ.VERSION) ;
out.printf(" %s %s\n", Jena.NAME, Jena.VERSION) ;
// out.printf("Port: %s\n",
// server.getServer().getConnectors()[0].getPort()) ;
out.println() ;
for ( DatasetRef dsRef : server.getDatasets() ) {
datasetRefDetails(out, dsRef) ;
out.println() ;
}
}
catch (IOException ex) {}