Class Fuseki

java.lang.Object
org.apache.jena.fuseki.Fuseki

public class Fuseki extends Object
  • Field Details

    • PATH

      public static final String PATH
      Path as package name
      See Also:
    • FusekiIRI

      public static final String FusekiIRI
      a unique IRI for the Fuseki namespace
      See Also:
    • FusekiSymbolIRI

      public static final String FusekiSymbolIRI
      a unique IRI including the symbol notation for which properties should be appended
      See Also:
    • PagesStatic

      public static final String PagesStatic
      Default location of the pages for the Fuseki UI
      See Also:
    • BaseParserSPARQL

      public static final String BaseParserSPARQL
      Dummy base URi string for parsing SPARQL Query and Update requests
      See Also:
    • BaseUpload

      public static final String BaseUpload
      Dummy base URi string for parsing SPARQL Query and Update requests
      See Also:
    • NAME

      public static final String NAME
      The name of the Fuseki server.
      See Also:
    • VERSION

      public static final String VERSION
      Version of this Fuseki instance
    • GSP_DIRECT_NAMING

      public static final boolean GSP_DIRECT_NAMING
      Supporting 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 service http://server/dataset/service and a longer URL that can't be a service http://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" case
      • ServiceRouterServlet, 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 developmentMode
      Are 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

      public static final String serverHttpName
      An identifier for the HTTP Fuseki server instance
    • actionLogName

      public static final String actionLogName
      Logger name for operations
      See Also:
    • actionLog

      public static final org.slf4j.Logger actionLog
      Instance of log for operations
    • fusekiLog

      public static final org.slf4j.Logger fusekiLog
      Instance of log for operations : alternative variable name
    • requestLogName

      public static final String requestLogName
      Logger name for standard webserver log file request log
      See Also:
    • requestLog

      public static final org.slf4j.Logger requestLog
      Instance of a log for requests: format is NCSA.
    • adminLogName

      public static final String adminLogName
      Admin log file for operations.
      See Also:
    • adminLog

      public static final org.slf4j.Logger adminLog
      Instance of log for operations.
    • validationLog

      public static final org.slf4j.Logger validationLog
      Instance of log for validation.
    • serverLogName

      public static final String serverLogName
      Actual log file for general server messages.
      See Also:
    • serverLog

      public static final org.slf4j.Logger serverLog
      Instance of log for general server messages.
    • servletRequestLogName

      public static final String servletRequestLogName
      Logger used for the servletContent.log operations (if settable -- depends on environment). This is both the display name of the servlet context and the logger name.
      See Also:
    • configLogName

      public static final String configLogName
      log for config server messages.
      See Also:
    • configLog

      public static final org.slf4j.Logger configLog
      Instance of log for config server messages.
    • backupLogName

      public static final String backupLogName
      See Also:
    • backupLog

      public static final org.slf4j.Logger backupLog
    • compactLogName

      public static final String compactLogName
      See Also:
    • compactLog

      public static final org.slf4j.Logger compactLog
    • verboseLogging

      public static boolean verboseLogging
      Instance of log for config server messages. This is the global default used to set attribute in each server created.
    • attrVerbose

      public static final String attrVerbose
      See Also:
    • attrNameRegistry

      public static final String attrNameRegistry
      See Also:
    • attrOperationRegistry

      public static final String attrOperationRegistry
      See Also:
    • attrAuthorizationService

      public static final String attrAuthorizationService
      See Also:
    • attrFusekiServer

      public static final String attrFusekiServer
      See Also:
    • attrFusekiServerCtl

      public static final String attrFusekiServerCtl
      See Also:
    • attrMetricsProvider

      public static final String attrMetricsProvider
      See Also:
    • webStreamManager

      public static final org.apache.jena.riot.system.stream.StreamManager webStreamManager
      An 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

      public static String FusekiRequestIdHeader
  • Constructor Details

    • Fuseki

      public Fuseki()
  • Method Details

    • initConsts

      public static void initConsts()
      Initialize is class. See also FusekiCore for Fuseki core initialization.
    • 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

      public static String serverStartedAt()
      XSD DateTime for when the server started
    • getContext

      public static org.apache.jena.sparql.util.Context getContext()
      Get server global Context.
      Returns:
      ARQ.getContext()