Uses of Class
org.apache.jena.fuseki.servlets.HttpAction
Package
Description
-
Uses of HttpAction in org.apache.jena.fuseki.ctl
Modifier and TypeMethodDescriptionstatic AsyncTask
Async.execASyncTask
(HttpAction action, AsyncPool asyncPool, String displayName, Runnable runnable) void
ActionMetrics.execGet
(HttpAction action) void
ActionContainerItem.execOptions
(HttpAction action) void
ActionMetrics.execOptions
(HttpAction action) void
ActionSleep.execOptions
(HttpAction action) void
ActionTasks.execOptions
(HttpAction action) void
ActionSleep.execPost
(HttpAction action) final void
ActionContainerItem.execute
(HttpAction action) void
ActionMetrics.execute
(HttpAction action) void
ActionSleep.execute
(HttpAction action) void
ActionStatsText.execute
(HttpAction action) void
ActionTasks.execute
(HttpAction action) static DataAccessPoint
ActionCtl.getItemDataAccessPoint
(HttpAction action) Get the DataAccessPoint corresponding to the item name, or null.static DataAccessPoint
ActionCtl.getItemDataAccessPoint
(HttpAction action, String name) Get the DataAccessPoint corresponding to the item name, or null.static org.apache.jena.sparql.core.DatasetGraph
ActionCtl.getItemDataset
(HttpAction action) Get the DatasetGraph corresponding to the item name, or null.static String
ActionCtl.getItemDatasetName
(HttpAction action) Get the item name - the part after the URI for the servlet (which is the container) - treated as a dataset name.static String
ActionCtl.getItemName
(HttpAction action) Get the item name - the part after the URI for the servlet (which is the container).final void
ActionCtl.process
(HttpAction action) void
ActionCompact.validate
(HttpAction action) void
ActionMetrics.validate
(HttpAction action) void
ActionSleep.validate
(HttpAction action) void
ActionStats.validate
(HttpAction action) void
ActionStatsText.validate
(HttpAction action) void
ActionTasks.validate
(HttpAction action) -
Uses of HttpAction in org.apache.jena.fuseki.metrics
Modifier and TypeMethodDescriptionvoid
MetricsProvider.scrape
(HttpAction action) void
SimpleMetricsProvider.scrape
(HttpAction action) -
Uses of HttpAction in org.apache.jena.fuseki.metrics.prometheus
-
Uses of HttpAction in org.apache.jena.fuseki.server
Modifier and TypeMethodDescriptionstatic String
RequestLog.combinedNCSA
(HttpAction action) NCSA combined log format LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedfwd xxx.xxx.xxx.xxx - - [01/Feb/2014:03:19:09 +0000] "GET / HTTP/1.1" 200 6190 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"void
DataAccessPoint.finishRequest
(HttpAction httpAction) DispatchFunction.selectOperation
(HttpAction action, EndpointSet epSet) static Operation
Dispatcher.selectPlainOperation
(HttpAction action, EndpointSet epSet) This is a system defaultDispatchFunction
.void
DataAccessPoint.startRequest
(HttpAction httpAction) -
Uses of HttpAction in org.apache.jena.fuseki.servlets
Modifier and TypeMethodDescriptionstatic HttpAction
ActionExecLib.allocHttpAction
(DataAccessPoint dap, org.slf4j.Logger log, ActionCategory category, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Returns a fresh HTTP Action for this request.Modifier and TypeMethodDescriptionstatic void
ActionLib.consumeBody
(HttpAction action) Reset the request input stream for anHttpAction
if necessary.static org.apache.jena.atlas.web.MediaType
ActionLib.contentNegotation
(HttpAction action, org.apache.jena.atlas.web.AcceptList myPrefs, org.apache.jena.atlas.web.MediaType defaultMediaType) Negotiate the content-type and set the response headersstatic org.apache.jena.atlas.web.MediaType
ActionLib.contentNegotationQuads
(HttpAction action) Negotiate the content-type for an RDF quads syntax and set the response headersstatic org.apache.jena.atlas.web.MediaType
ActionLib.contentNegotationRDF
(HttpAction action) Negotiate the content-type for an RDF triples syntax and set the response headersstatic void
ActionLib.datasetResponse
(HttpAction action, org.apache.jena.sparql.core.DatasetGraph dsg, org.apache.jena.riot.Lang lang) Output a dataset to the HTTP response.static void
ActionLib.datasetResponse
(HttpAction action, org.apache.jena.sparql.core.DatasetGraph dsg, org.apache.jena.riot.RDFFormat format, String contentType) Output a dataset to the HTTP response.org.apache.jena.atlas.lib.Pair<org.apache.jena.sparql.core.DatasetGraph,
org.apache.jena.query.Query> SPARQL_QueryDataset.decideDatasetDynamic
(HttpAction action, org.apache.jena.query.Query query, String queryStringLog) Function to return thePair<DatasetGraph, Query>
based on processing any dataset description asa dynamic dataset
.static final GraphTarget
GraphTarget.determineTarget
(org.apache.jena.sparql.core.DatasetGraph dsg, HttpAction action) static final GraphTarget
GraphTarget.determineTargetGSP
(org.apache.jena.sparql.core.DatasetGraph dsg, HttpAction action) With GSP direct naming.void
UploadRDF.doOptions
(HttpAction action) static void
ActionLib.doOptionsGet
(HttpAction action) static void
ActionLib.doOptionsGetHead
(HttpAction action) static void
ActionLib.doOptionsGetPost
(HttpAction action) static void
ActionLib.doOptionsGetPostDelete
(HttpAction action) static void
ActionLib.doOptionsGetPostDeleteHead
(HttpAction action) static void
ActionLib.doOptionsGetPostHead
(HttpAction action) static void
ActionLib.doOptionsPost
(HttpAction action) static void
ResponseDataset.doResponseDataset
(HttpAction action, org.apache.jena.query.Dataset dataset) static void
ResponseJson.doResponseJson
(HttpAction action, Iterator<org.apache.jena.atlas.json.JsonObject> jsonItem) Outputs a JSON query resultstatic void
ResponseDataset.doResponseModel
(HttpAction action, org.apache.jena.rdf.model.Model model) static void
ResponseResultSet.doResponseResultSet
(HttpAction action, Boolean booleanResult) static void
ResponseResultSet.doResponseResultSet
(HttpAction action, org.apache.jena.query.ResultSet resultSet, org.apache.jena.sparql.core.Prologue qPrologue) static boolean
ActionExecLib.execAction
(HttpAction action, Supplier<ActionProcessor> processor) execAction, allowing for a choice ofActionProcessor
within the logging and error handling.static void
ActionExecLib.execAction
(HttpAction action, ActionProcessor processor) Standard execution lifecycle for a SPARQL Request.default void
ActionProcessor.execAny
(String methodName, HttpAction action) void
ActionREST.execAny
(String methodName, HttpAction action) void
NoOpActionService.execAny
(String methodName, HttpAction action) default void
ActionProcessor.execDelete
(HttpAction action) default void
ActionProcessor.execGet
(HttpAction action) void
SPARQL_Update.execGet
(HttpAction action) void
SPARQLQueryProcessor.execGet
(HttpAction action) default void
ActionProcessor.execHead
(HttpAction action) void
SPARQLQueryProcessor.execHead
(HttpAction action) default void
ActionProcessor.execOptions
(HttpAction action) void
SPARQL_Update.execOptions
(HttpAction action) void
SPARQLQueryProcessor.execOptions
(HttpAction action) default void
ActionProcessor.execPatch
(HttpAction action) void
SPARQL_Update.execPatch
(HttpAction action) default void
ActionProcessor.execPost
(HttpAction action) void
SPARQL_Update.execPost
(HttpAction action) void
SPARQLQueryProcessor.execPost
(HttpAction action) default void
ActionProcessor.execPut
(HttpAction action) default void
ActionProcessor.execTrace
(HttpAction action) void
ActionLifecycle.execute
(HttpAction action) The perform step of a requestvoid
ActionREST.execute
(HttpAction action) void
ActionServicePlaceholder.execute
(HttpAction action) void
NoOpActionService.execute
(HttpAction action) void
SPARQL_Update.execute
(HttpAction action) final void
SPARQLQueryProcessor.execute
(HttpAction action) void
SPARQL_QueryGeneral.SPARQL_QueryProc.executeLifecycle
(HttpAction action) static org.apache.jena.atlas.web.ContentType
ActionLib.getContentType
(HttpAction action) Get the content type of an action.static org.apache.jena.sparql.core.DatasetDescription
SPARQLProtocol.getDatasetDescription
(HttpAction action, org.apache.jena.query.Query query) Given an action (protocol request) and a query, decide the DatasetDescription, if any.static org.apache.jena.sparql.core.DatasetDescription
SPARQLProtocol.getProtocolDatasetDescription
(HttpAction action) static void
ActionLib.graphResponse
(HttpAction action, org.apache.jena.graph.Graph graph, org.apache.jena.riot.Lang lang) Output a graph to the HTTP response.static void
ActionLib.graphResponse
(HttpAction action, org.apache.jena.graph.Graph graph, org.apache.jena.riot.RDFFormat format, String contentType) Output a graph to the HTTP response.static boolean
GSPLib.hasExactlyOneValue
(HttpAction action, String name) Check whether there is exactly one HTTP header valuestatic boolean
GSPLib.hasGSPParams
(HttpAction action) Test whether the operation has either of the GSP parameters.static boolean
GSPLib.hasGSPParamsStrict
(HttpAction action) Test whether the operation has exactly one GSP parameter and no other parameters.static void
ActionExecLib.initResponse
(HttpAction action) Set headers for the response.static void
ActionExecLib.logNoResponse
(HttpAction action) Log when we don't handle this request.static void
ActionExecLib.logRequest
(HttpAction action) Log anHttpAction
request.static void
ActionExecLib.logResponse
(HttpAction action) Log anHttpAction
response.static String
ActionLib.mapRequestToEndpointName
(HttpAction action, DataAccessPoint dataAccessPoint) Calculate the operation, given action and data access pointstatic void
ActionLib.parse
(HttpAction action, org.apache.jena.riot.system.StreamRDF dest, InputStream input, org.apache.jena.riot.Lang lang, String base) Parse RDF content.static void
ActionLib.parse
(HttpAction action, org.apache.jena.riot.system.StreamRDF dest, org.apache.jena.riot.Lang lang, String base) Parse RDF content.static void
ActionLib.parseOrError
(HttpAction action, org.apache.jena.riot.system.StreamRDF dest, org.apache.jena.riot.Lang lang, String base) Parse RDF content from the body of the request of the action, ends the request, and sends a 400 if there is a parse error.void
ActionBase.process
(HttpAction action) Subclasses must overrideexecGet
,execPost
etc to say which methods they support.default void
ActionProcessor.process
(HttpAction action) Execute this request.void
ActionREST.process
(HttpAction action) static UploadDetails
UploadRDF.quadsPutPostNonTxn
(HttpAction action, boolean replaceOperation) Load data, without assuming the dataset of an action is transactional - specifically, whether it supports "abort".static UploadDetails
UploadRDF.quadsPutPostNonTxn
(HttpAction action, Function<HttpAction, org.apache.jena.sparql.core.DatasetGraph> decideDataset, boolean replaceOperation) Load data, without assuming the dataset of an action is transactional - specifically, whether it supports "abort".static UploadDetails
UploadRDF.quadsPutPostTxn
(HttpAction action, boolean replaceOperation) Load data using a transaction into the dataset of an action. if the data is bad, abort the transaction.static UploadDetails
UploadRDF.quadsPutPostTxn
(HttpAction action, Function<HttpAction, org.apache.jena.sparql.core.DatasetGraph> decideDataset, boolean replaceOperation) Load data using a transaction into the dataset of an action. if the data is bad, abort the transaction.static org.apache.jena.graph.Graph
ActionLib.readFromRequest
(HttpAction action, org.apache.jena.riot.Lang defaultLang) static String
ActionLib.removeContextPath
(HttpAction action) static void
ServletOps.sendJson
(HttpAction action, org.apache.jena.atlas.json.JsonValue jValue) Send a JSON value as a 200 response.static void
ServletOps.sendJsonReponse
(HttpAction action, org.apache.jena.atlas.json.JsonValue v) Send a JSON value as a 200 response.static void
ActionLib.setCommonHeaders
(HttpAction action) static void
ActionLib.setCommonHeadersForOptions
(HttpAction action) static void
ResponseJson.setHttpResponse
(HttpAction action, String contentType, String charset) static void
ServletOps.setNoCache
(HttpAction action) static void
ServletOps.success
(HttpAction action) static void
ServletOps.success
(HttpAction action, int httpStatusCode) static void
ServletOps.successCreated
(HttpAction action) static void
ServletOps.successNoContent
(HttpAction action) static void
ServletOps.successNotFound
(HttpAction action) static void
ServletOps.successPage
(HttpAction action, String message) static void
ServletOps.uploadResponse
(HttpAction action, UploadDetails details) response to a upload operation of some kind.void
ActionLifecycle.validate
(HttpAction action) The validation step of a requestvoid
ActionServicePlaceholder.validate
(HttpAction action) void
BaseActionREST.validate
(HttpAction action) void
GSP_Base.validate
(HttpAction action) void
NoOpActionService.validate
(HttpAction action) void
PatchApply.validate
(HttpAction action) void
SPARQL_Update.validate
(HttpAction action) void
SPARQLQueryProcessor.validate
(HttpAction action) Validate the request, checking HTTP method and HTTP Parameters.void
UploadRDF.validate
(HttpAction action) static void
ServletOps.warning
(HttpAction action, String string) static void
ServletOps.warning
(HttpAction action, String string, Throwable thorwable) Modifier and TypeMethodDescriptionstatic UploadDetails
UploadRDF.quadsPutPostNonTxn
(HttpAction action, Function<HttpAction, org.apache.jena.sparql.core.DatasetGraph> decideDataset, boolean replaceOperation) Load data, without assuming the dataset of an action is transactional - specifically, whether it supports "abort".static UploadDetails
UploadRDF.quadsPutPostTxn
(HttpAction action, Function<HttpAction, org.apache.jena.sparql.core.DatasetGraph> decideDataset, boolean replaceOperation) Load data using a transaction into the dataset of an action. if the data is bad, abort the transaction.ModifierConstructorDescriptionHttpServletResponseTracker
(HttpAction action, jakarta.servlet.http.HttpServletResponse response) -
Uses of HttpAction in org.apache.jena.fuseki.servlets.prefixes
-
Uses of HttpAction in org.apache.jena.fuseki.system
Modifier and TypeMethodDescriptionstatic org.apache.jena.riot.Lang
FusekiNetLib.getLangFromAction
(HttpAction action, org.apache.jena.riot.Lang dft) Get the incomingLang
based on Content-Type of an action.static UploadDetails
DataUploader.incomingData
(HttpAction action, org.apache.jena.riot.system.StreamRDF dest) Parse the body contents to theStreamRDF
.