Class SPARQLProtocol


  • public class SPARQLProtocol
    extends java.lang.Object
    Support functions for the SPARQL protocol (SPARQL Query, SPARQL Update)
    • Constructor Detail

      • SPARQLProtocol

        public SPARQLProtocol()
    • Method Detail

      • getDatasetDescription

        public static DatasetDescription getDatasetDescription​(HttpAction action,
                                                               Query query)
        Given an action (protocol request) and a query, decide the DatasetDescription, if any.
        Parameters:
        action - Action details - may be null.
        query - The query - may be null.
        Returns:
        DatasetDescription or null
      • countParamOccurences

        public static int countParamOccurences​(javax.servlet.http.HttpServletRequest request,
                                               java.lang.String param)