public class SPARQLServer extends Object
Server. This class provides
immediate access to the AbstractLifeCycle.start() and
AbstractLifeCycle.stop() commands as well as obtaining
instances of the server and server configuration. Finally we can obtain
instances of ServerConfig.| Modifier and Type | Field and Description |
|---|---|
static boolean |
überServlet
Experimental - off by default.
|
| Constructor and Description |
|---|
SPARQLServer(ServerConfig config)
Default constructor which requires a
ServerConfig
object as input. |
| Modifier and Type | Method and Description |
|---|---|
List<DatasetRef> |
getDatasets()
Get the datasets associated with the server.
|
org.eclipse.jetty.server.Server |
getServer()
Get the Jetty instance.
|
ServerConfig |
getServerConfig()
Obtain the
ServerConfig |
void |
start()
Initialize the
SPARQLServer instance. |
void |
stop()
Stop the
SPARQLServer instance. |
public static boolean überServlet
public SPARQLServer(ServerConfig config)
ServerConfig
object as input. We use this config to specify (verbose) logging, enable compression
etc.config - public void start()
SPARQLServer instance.public void stop()
SPARQLServer instance.public org.eclipse.jetty.server.Server getServer()
public List<DatasetRef> getDatasets()
ServerConfig.datasetspublic ServerConfig getServerConfig()
ServerConfigLicenced under the Apache License, Version 2.0