Uses of Class
org.apache.jena.fuseki.main.FusekiServer.Builder
Package
Description
-
Uses of FusekiServer.Builder in org.apache.jena.fuseki.main
Modifier and TypeMethodDescriptionAdd a data service that includes dataset and service names.FusekiServer.Builder.add
(String name, org.apache.jena.fuseki.server.DataService.Builder dataServiceBuilder) Add the dataset with given name and a default set of services including update.Add the dataset with given name and a default set of services and enabling update if allowUpdate=true.Add the dataset with given name and a default set of services including updateFusekiServer.Builder.add
(String name, org.apache.jena.sparql.core.DatasetGraph dataset, boolean allowUpdate) Add the dataset with given name and a default set of services and enabling update if allowUpdate=true.FusekiServer.Builder.addDataset
(String name, org.apache.jena.sparql.core.DatasetGraph dataset) Add a dataset, do not configure it in this call.FusekiServer.Builder.addEndpoint
(String datasetName, String endpointName, org.apache.jena.fuseki.server.Operation operation) Create an endpoint on the dataset.FusekiServer.Builder.addEndpoint
(String datasetName, String endpointName, org.apache.jena.fuseki.server.Operation operation, org.apache.jena.fuseki.auth.AuthPolicy authPolicy) Create an endpoint as a service of the dataset (i.e.Add a filter with the pathSpec.FusekiServer.Builder.addOperation
(String datasetName, org.apache.jena.fuseki.server.Operation operation) Create an endpoint on the dataset i.e.FusekiServer.Builder.addOperation
(String datasetName, org.apache.jena.fuseki.server.Operation operation, org.apache.jena.fuseki.auth.AuthPolicy authPolicy) Create an endpoint on the dataset i.e.FusekiServer.Builder.addProcessor
(String pathSpec, org.apache.jena.fuseki.servlets.ActionProcessor processor) Add anActionProcessor
as a servlet.FusekiServer.Builder.addProcessor
(String pathSpec, org.apache.jena.fuseki.servlets.ActionProcessor processor, org.slf4j.Logger log) Add anActionProcessor
as a servlet.FusekiServer.Builder.addServlet
(String pathSpec, jakarta.servlet.http.HttpServlet servlet) Add the given servlet with thepathSpec
.FusekiServer.Builder.addServletAttribute
(String attrName, Object value) Add a servlet attribute.FusekiServer.Builder.auth
(org.apache.jena.atlas.web.AuthScheme authScheme) Choose the HTTP authentication scheme.FusekiServer.Builder.contextPath
(String path) Context path to Fuseki.static FusekiServer.Builder
FusekiServer.create()
Return a builder, with the default choices of actions available.static FusekiServer.Builder
FusekiServer.create
(org.apache.jena.fuseki.server.OperationRegistry serviceDispatchRegistry) Return a builder, with a custom set of operation-action mappings.FusekiServer.Builder.enableCompact
(boolean withCompact) Add the "/$/compact/*" servlet that triggers compaction for specified dataset.FusekiServer.Builder.enableCors
(boolean withCORS) Enable or disable a Cross Origin (CORS) filter with default settings.FusekiServer.Builder.enableCors
(boolean withCORS, String corsConfigFile) Enable a Cross Origin (CORS) filter with a specific configuration, or disable CORS processing.FusekiServer.Builder.enableMetrics
(boolean withMetrics) Add the "/$/metrics" servlet that responds with Prometheus metrics about the server.FusekiServer.Builder.enablePing
(boolean withPing) Add the "/$/ping" servlet that responds to HTTP very efficiently.FusekiServer.Builder.enableStats
(boolean withStats) Add the "/$/stats" servlet that responds with stats about the server, including counts of all calls made.FusekiServer.Builder.enableTasks
(boolean withTasks) Add the "/$/tasks" servlet that responds with info about tasks run on the serverstatic FusekiServer.Builder
FusekiLib.fusekiBuilderAccessCtl
(Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Return aFusekiServer.Builder
setup for data access control.static FusekiServer.Builder
FusekiLib.fusekiBuilderAccessCtl
(FusekiServer.Builder builder, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify aFusekiServer.Builder
setup for data access control.FusekiServer.Builder.fusekiModules
(FusekiModules modules) Set theFuseki Module
for a server.Set the HTTPs port and read the certificate store location and password from a file.Set the HTTPs port and provide the certificate store and password.FusekiServer.Builder.jettyServerConfig
(String filename) Build the server using a Jetty configuration file.FusekiServer.Builder.loopback
(boolean loopback) Restrict the server to only responding to the localhost interface.FusekiServer.Builder.maxServerThreads
(int maxThreads) Set the maximum number threads used by Jetty.FusekiServer.Builder.numServerThreads
(int minThreads, int maxThreads) Set the number threads used by Jetty.FusekiServer.Builder.parseConfig
(org.apache.jena.graph.Graph graph) Configure using a Fuseki services/datasets assembler in aGraph
.FusekiServer.Builder.parseConfig
(org.apache.jena.rdf.model.Model model) Configure using a Fuseki services/datasets assembler model.FusekiServer.Builder.parseConfigFile
(String filename) Configure using a Fuseki services/datasets assembler file.FusekiServer.Builder.passwordFile
(String passwordFile) Set the password file.FusekiServer.Builder.port
(int port) Set the HTTP port to run on.Set the realm used for HTTP digest authentication.FusekiServer.Builder.registerOperation
(org.apache.jena.fuseki.server.Operation operation, String contentType, org.apache.jena.fuseki.servlets.ActionService handler) Add an operation to the server, together with its triggering Content-Type (which may be null) and servlet handler.FusekiServer.Builder.registerOperation
(org.apache.jena.fuseki.server.Operation operation, org.apache.jena.fuseki.servlets.ActionService handler) Add an operation and handler to the server.FusekiServer.Builder.securityHandler
(org.eclipse.jetty.security.SecurityHandler securityHandler) Set a Jetty SecurityHandler.FusekiServer.Builder.serverAuthPolicy
(org.apache.jena.fuseki.auth.AuthPolicy authPolicy) Set the server-wide server authorizationAuthPolicy
.FusekiServer.Builder.staticFileBase
(String directory) Set the location (filing system directory) to serve static files from.FusekiServer.Builder.verbose
(boolean verbose) Set verbose loggingModifier and TypeMethodDescriptionstatic FusekiServer.Builder
FusekiLib.fusekiBuilderAccessCtl
(FusekiServer.Builder builder, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify aFusekiServer.Builder
setup for data access control. -
Uses of FusekiServer.Builder in org.apache.jena.fuseki.main.cmds
Modifier and TypeMethodDescriptionstatic FusekiServer.Builder
Create aFusekiServer.Builder
which has been setup according to the command line arguments. -
Uses of FusekiServer.Builder in org.apache.jena.fuseki.main.sys
Modifier and TypeMethodDescriptiondefault void
FusekiAutoModule.configured
(FusekiServer.Builder serverBuilder, org.apache.jena.fuseki.server.DataAccessPointRegistry dapRegistry, org.apache.jena.rdf.model.Model configModel) Called after theDataAccessPointRegistry
has been built.default void
FusekiBuildCycle.configured
(FusekiServer.Builder serverBuilder, org.apache.jena.fuseki.server.DataAccessPointRegistry dapRegistry, org.apache.jena.rdf.model.Model configModel) Called after theDataAccessPointRegistry
has been built.default void
FusekiModule.configured
(FusekiServer.Builder serverBuilder, org.apache.jena.fuseki.server.DataAccessPointRegistry dapRegistry, org.apache.jena.rdf.model.Model configModel) static void
FusekiModuleStep.configured
(FusekiModules modules, FusekiServer.Builder serverBuilder, org.apache.jena.fuseki.server.DataAccessPointRegistry dapRegistry, org.apache.jena.rdf.model.Model configModel) The DataAccessPointRegistry that will be used to build the server.default void
FusekiAutoModule.prepare
(FusekiServer.Builder serverBuilder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) Called at the start of "build" step.default void
FusekiBuildCycle.prepare
(FusekiServer.Builder serverBuilder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) Called at the start of "build" step.default void
FusekiModule.prepare
(FusekiServer.Builder serverBuilder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) static void
FusekiModuleStep.prepare
(FusekiModules modules, FusekiServer.Builder serverBuilder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) Call at the start of "build" step.