Class RDFConnectionRemoteBuilder

    • Method Detail

      • destination

        public RDFConnectionRemoteBuilder destination​(java.lang.String destination)
        URL of the remote SPARQL endpoint. For Fuseki, this is the URL of the dataset e.g. http://localhost:3030/dataset
      • queryEndpoint

        public RDFConnectionRemoteBuilder queryEndpoint​(java.lang.String sQuery)
        Name of the SPARQL query service.

        This can be a short name, relative to the destination URL, or a full URL (with "http:" or "https:")

        Use "" for "same as destination".
        Use null for "none".

      • updateEndpoint

        public RDFConnectionRemoteBuilder updateEndpoint​(java.lang.String sUpdate)
        Name of the SPARQL update service.

        This can be a short name, relative to the destination URL, or a full URL (with "http:" or "https:")

        Use "" for "same as destination".
        Use null for "none".

      • gspEndpoint

        public RDFConnectionRemoteBuilder gspEndpoint​(java.lang.String sGSP)
        Name of the SPARQL GraphStore Protocol endpoint.

        This can be a short name, relative to the destination URL, or a full URL (with "http:" or "https:")

        Use "" for "same as destination".
        Use null for "none".

      • httpClient

        public RDFConnectionRemoteBuilder httpClient​(java.net.http.HttpClient httpClient)
        Set the HttpClient for the connection to be built
      • quadsFormat

        public RDFConnectionRemoteBuilder quadsFormat​(RDFFormat fmtQuads)
        Set the output format for sending RDF Datasets to the remote server. This is used for HTTP PUT and POST to a dataset. This must be a quads format.
      • quadsFormat

        public RDFConnectionRemoteBuilder quadsFormat​(Lang langQuads)
        Set the output format for sending RDF Datasets to the remote server. This is used for HTTP PUT and POST to a dataset. This must be a quads format.
      • quadsFormat

        public RDFConnectionRemoteBuilder quadsFormat​(java.lang.String langQuads)
        Set the output format for sending RDF Datasets to the remote server. This is used for HTTP PUT and POST to a dataset. This must be a quads format.
      • triplesFormat

        public RDFConnectionRemoteBuilder triplesFormat​(RDFFormat fmtTriples)
        Set the output format for sending RDF graphs to the remote server. This is used for the SPARQ Graph Store Protocol.
      • triplesFormat

        public RDFConnectionRemoteBuilder triplesFormat​(Lang langTriples)
        Set the output format for sending RDF graphs to the remote server. This is used for the SPARQ Graph Store Protocol.
      • triplesFormat

        public RDFConnectionRemoteBuilder triplesFormat​(java.lang.String langTriples)
        Set the output format for sending RDF graphs to the remote server. This is used for the SPARQ Graph Store Protocol.
      • acceptHeaderGraph

        public RDFConnectionRemoteBuilder acceptHeaderGraph​(java.lang.String acceptGraph)
        Set the HTTP Accept: header used to fetch RDF graph using the SPARQL Graph Store Protocol.
      • acceptHeaderDataset

        public RDFConnectionRemoteBuilder acceptHeaderDataset​(java.lang.String acceptDataset)
        Set the HTTP Accept: header used to fetch RDF datasets using HTTP GET operations.
      • acceptHeaderSelectQuery

        public RDFConnectionRemoteBuilder acceptHeaderSelectQuery​(java.lang.String acceptSelectHeader)
        Set the HTTP Accept: header used to when making a SPARQL Protocol SELECT query.
      • acceptHeaderAskQuery

        public RDFConnectionRemoteBuilder acceptHeaderAskQuery​(java.lang.String acceptAskHeader)
        Set the HTTP Accept: header used to when making a SPARQL Protocol ASK query.
      • acceptHeaderQuery

        public RDFConnectionRemoteBuilder acceptHeaderQuery​(java.lang.String acceptHeader)
        Set the HTTP Accept: header used to when making a SPARQL Protocol query if no query type specific setting available.
      • parseCheckSPARQL

        public RDFConnectionRemoteBuilder parseCheckSPARQL​(boolean parseCheck)
        Set the flag for whether to check SPARQL queries and SPARQL updates provided as a string.
      • build

        public final RDFConnection build()
        Build an RDFConnection.
        Implementation Note:
        This operation is fixed as:
             public final RDFConnection build() {
                 RDFLink rdfLink = buildLink();
                 return adaptLink(rdfLink);
             }
             
        Subclasses of RDFConnectionRemote may build and override buildLink and/or adaptLink