Class Fuseki

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

public class Fuseki extends Object
  • Field Details

    • PATH

      public static String PATH
      Path as package name
    • FusekiIRI

      public static String FusekiIRI
      a unique IRI for the Fuseki namespace
    • FusekiSymbolIRI

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

      public static String PagesStatic
      Default location of the pages for the Fuseki UI
    • 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:
    • CORS_ENABLED

      public static final boolean CORS_ENABLED
      Add CORS header
      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
    • actionLog

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

      public static final String requestLogName
      Logger name for standard webserver log file request log
    • 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.
    • adminLog

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

      public static final String builderLogName
      Admin log file for operations.
    • builderLog

      public static final org.slf4j.Logger builderLog
      Instance of log for operations.
    • validationLogName

      public static final String validationLogName
      Validation log file 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.
    • 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)
    • configLogName

      public static final String configLogName
      Actual log file for config server messages.
    • configLog

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

      public static final String backupLogName
    • backupLog

      public static final org.slf4j.Logger backupLog
    • compactLogName

      public static final String compactLogName
    • 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:
    • 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

    • 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
    • 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 global Context.
      Returns:
      ARQ.getContext()