java.lang.Object
org.apache.jena.fuseki.Fuseki
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.slf4j.Logger
Instance of log for operationsstatic final String
Logger name for operationsstatic final org.slf4j.Logger
Instance of log for operations.static final String
Admin log file for operations.static final String
static final String
static final String
static final String
static final org.slf4j.Logger
static final String
static final String
Dummy base URi string for parsing SPARQL Query and Update requestsstatic final String
Dummy base URi string for parsing SPARQL Query and Update requestsstatic final org.slf4j.Logger
Instance of log for operations.static final String
Admin log file for operations.static final org.slf4j.Logger
static final String
static final org.slf4j.Logger
Instance of log for config server messages.static final String
Actual log file for config server messages.static final boolean
Add CORS headerstatic boolean
Are we in development mode?static String
a unique IRI for the Fuseki namespacestatic String
static String
a unique IRI including the symbol notation for which properties should be appendedstatic final boolean
Supporting Graph Store Protocol direct naming.static final String
The name of the Fuseki server.static boolean
static boolean
static String
Default location of the pages for the Fuseki UIstatic String
Path as package namestatic final org.slf4j.Logger
Instance of a log for requests: format is NCSA.static final String
Logger name for standard webserver log file request logstatic final String
An identifier for the HTTP Fuseki server instancestatic final org.slf4j.Logger
Instance of log for general server messages.static final String
Actual log file for general server messages.static final String
Logger used for the servletContent.log operations (if settable -- depends on environment)static final org.slf4j.Logger
Instance of log for validation.static final String
Validation log file for operations.static boolean
Instance of log for config server messages.static final String
Version of this Fuseki instancestatic final org.apache.jena.riot.system.stream.StreamManager
An instance of management for stream opening, including redirecting through a location mapper whereby a name (e.g. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.sparql.util.Context
Get server globalContext
.static boolean
getVerbose
(jakarta.servlet.ServletContext cxt) static void
init()
Initialize an instance of the Fuseki server stack.static String
XSD DateTime for when the server startedstatic long
Return the number of milliseconds since the server startedstatic long
Server uptime in secondsstatic void
setVerbose
(jakarta.servlet.ServletContext cxt, boolean verbose)
-
Field Details
-
PATH
Path as package name -
FusekiIRI
a unique IRI for the Fuseki namespace -
FusekiSymbolIRI
a unique IRI including the symbol notation for which properties should be appended -
PagesStatic
Default location of the pages for the Fuseki UI -
BaseParserSPARQL
Dummy base URi string for parsing SPARQL Query and Update requests- See Also:
-
BaseUpload
Dummy base URi string for parsing SPARQL Query and Update requests- See Also:
-
CORS_ENABLED
public static final boolean CORS_ENABLEDAdd CORS header- See Also:
-
NAME
The name of the Fuseki server.- See Also:
-
VERSION
Version of this Fuseki instance -
GSP_DIRECT_NAMING
public static final boolean GSP_DIRECT_NAMINGSupporting Graph Store Protocol direct naming.A GSP "direct name" is a request, not using ?default or ?graph=, that names the graph by the request URL so it is of the form
http://server/dataset/graphname...
. There are two cases: looking like a servicehttp://server/dataset/service
and a longer URL that can't be a servicehttp://server/dataset/segment/segment/...
.GSP "direct name" is usually off. It is a rare feature and because of hard wiring to the URL quite sensitive to request route.
The following places use this switch:
FusekiFilter
for the "clearly not a service" caseServiceRouterServlet
, end of dispatch (after checking for http://server/dataset/service)SPARQL_GSP.determineTarget
This is all-purpose code - should not get there because of other checks.
Note
GSP Direct Naming was implemented to provide two implementations for the SPARQL 1.1 implementation report.- See Also:
-
developmentMode
public static boolean developmentModeAre we in development mode? That means a SNAPSHOT, or no VERSION because maven has not filtered the fuseki-properties.xml file. -
outputJettyServerHeader
public static boolean outputJettyServerHeader -
outputFusekiServerHeader
public static boolean outputFusekiServerHeader -
serverHttpName
An identifier for the HTTP Fuseki server instance -
actionLogName
Logger name for operations -
actionLog
public static final org.slf4j.Logger actionLogInstance of log for operations -
requestLogName
Logger name for standard webserver log file request log -
requestLog
public static final org.slf4j.Logger requestLogInstance of a log for requests: format is NCSA. -
adminLogName
Admin log file for operations. -
adminLog
public static final org.slf4j.Logger adminLogInstance of log for operations. -
builderLogName
Admin log file for operations. -
builderLog
public static final org.slf4j.Logger builderLogInstance of log for operations. -
validationLogName
Validation log file for operations. -
validationLog
public static final org.slf4j.Logger validationLogInstance of log for validation. -
serverLogName
Actual log file for general server messages. -
serverLog
public static final org.slf4j.Logger serverLogInstance of log for general server messages. -
servletRequestLogName
Logger used for the servletContent.log operations (if settable -- depends on environment) -
configLogName
Actual log file for config server messages. -
configLog
public static final org.slf4j.Logger configLogInstance of log for config server messages. -
backupLogName
-
backupLog
public static final org.slf4j.Logger backupLog -
compactLogName
-
compactLog
public static final org.slf4j.Logger compactLog -
verboseLogging
public static boolean verboseLoggingInstance of log for config server messages. This is the global default used to set attribute in each server created. -
attrVerbose
- See Also:
-
attrNameRegistry
- See Also:
-
attrOperationRegistry
- See Also:
-
attrAuthorizationService
- See Also:
-
webStreamManager
public static final org.apache.jena.riot.system.stream.StreamManager webStreamManagerAn instance of management for stream opening, including redirecting through a location mapper whereby a name (e.g. URL) is redirected to another name (e.g. local file). -
FusekiRequestIdHeader
-
-
Constructor Details
-
Fuseki
public Fuseki()
-
-
Method Details
-
setVerbose
public static void setVerbose(jakarta.servlet.ServletContext cxt, boolean verbose) -
getVerbose
public static boolean getVerbose(jakarta.servlet.ServletContext cxt) -
serverUptimeMillis
public static long serverUptimeMillis()Return the number of milliseconds since the server started -
serverUptimeSeconds
public static long serverUptimeSeconds()Server uptime in seconds -
serverStartedAt
XSD DateTime for when the server started -
init
public static void init()Initialize an instance of the Fuseki server stack. This is not done via Jena's initialization mechanism but done explicitly to give more control. Touching this class causes this to happen (see static block at the end of this class). -
getContext
public static org.apache.jena.sparql.util.Context getContext()Get server globalContext
.- Returns:
ARQ.getContext()
-