public class RDFConnectionRemoteBuilder extends Object
RDFConnectionRemote| Modifier and Type | Method and Description |
|---|---|
RDFConnectionRemoteBuilder |
acceptHeaderAskQuery(String acceptAskHeader)
Set the HTTP
Accept: header used to when making a SPARQL Protocol ASK query. |
RDFConnectionRemoteBuilder |
acceptHeaderDataset(String acceptDataset)
Set the HTTP
Accept: header used to fetch RDF datasets using HTTP GET operations. |
RDFConnectionRemoteBuilder |
acceptHeaderGraph(String acceptGraph)
Set the HTTP
Accept: header used to fetch RDF graph using the SPARQL Graph Store Protocol. |
RDFConnectionRemoteBuilder |
acceptHeaderQuery(String acceptHeader)
Set the HTTP
Accept: header used to when making a
SPARQL Protocol query if no query type specific setting available. |
RDFConnectionRemoteBuilder |
acceptHeaderSelectQuery(String acceptSelectHeader)
Set the HTTP
Accept: header used to when making a SPARQL Protocol SELECT query. |
RDFConnection |
build()
Build an {RDFConnection}.
|
RDFConnectionRemoteBuilder |
creator(Function<RDFConnectionRemoteBuilder,RDFConnection> function)
Provide an alternative function to make the
RDFConnection object. |
RDFConnectionRemoteBuilder |
destination(String destination)
URL of the remote SPARQL endpoint.
|
RDFConnectionRemoteBuilder |
gspEndpoint(String sGSP)
Name of the SPARQL GraphStore Protocol endpoint.
|
RDFConnectionRemoteBuilder |
httpClient(org.apache.http.client.HttpClient httpClient)
Set the
HttpClient fir the connection to tbe built |
RDFConnectionRemoteBuilder |
httpContext(org.apache.http.protocol.HttpContext httpContext)
Set the
HttpContext for the connection to tbe built |
RDFConnectionRemoteBuilder |
parseCheckSPARQL(boolean parseCheck)
Set the flag for whether to check SPARQL queries and SPARQL updates provided as a string.
|
RDFConnectionRemoteBuilder |
quadsFormat(Lang langQuads)
Set the output format for sending RDF Datasets to the remote server.
|
RDFConnectionRemoteBuilder |
quadsFormat(RDFFormat fmtQuads)
Set the output format for sending RDF Datasets to the remote server.
|
RDFConnectionRemoteBuilder |
quadsFormat(String langQuads)
Set the output format for sending RDF Datasets to the remote server.
|
RDFConnectionRemoteBuilder |
queryEndpoint(String sQuery)
Name of the SPARQL query service.
|
RDFConnectionRemoteBuilder |
triplesFormat(Lang langTriples)
Set the output format for sending RDF graphs to the remote server.
|
RDFConnectionRemoteBuilder |
triplesFormat(RDFFormat fmtTriples)
Set the output format for sending RDF graphs to the remote server.
|
RDFConnectionRemoteBuilder |
triplesFormat(String langTriples)
Set the output format for sending RDF graphs to the remote server.
|
RDFConnectionRemoteBuilder |
updateEndpoint(String sUpdate)
Name of the SPARQL update service.
|
public RDFConnectionRemoteBuilder destination(String destination)
public RDFConnectionRemoteBuilder queryEndpoint(String sQuery)
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".
public RDFConnectionRemoteBuilder updateEndpoint(String sUpdate)
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".
public RDFConnectionRemoteBuilder gspEndpoint(String sGSP)
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".
public RDFConnectionRemoteBuilder httpClient(org.apache.http.client.HttpClient httpClient)
HttpClient fir the connection to tbe builtpublic RDFConnectionRemoteBuilder httpContext(org.apache.http.protocol.HttpContext httpContext)
HttpContext for the connection to tbe builtpublic RDFConnectionRemoteBuilder quadsFormat(RDFFormat fmtQuads)
public RDFConnectionRemoteBuilder quadsFormat(Lang langQuads)
public RDFConnectionRemoteBuilder quadsFormat(String langQuads)
public RDFConnectionRemoteBuilder triplesFormat(RDFFormat fmtTriples)
public RDFConnectionRemoteBuilder triplesFormat(Lang langTriples)
public RDFConnectionRemoteBuilder triplesFormat(String langTriples)
public RDFConnectionRemoteBuilder acceptHeaderGraph(String acceptGraph)
Accept: header used to fetch RDF graph using the SPARQL Graph Store Protocol.public RDFConnectionRemoteBuilder acceptHeaderDataset(String acceptDataset)
Accept: header used to fetch RDF datasets using HTTP GET operations.public RDFConnectionRemoteBuilder acceptHeaderSelectQuery(String acceptSelectHeader)
Accept: header used to when making a SPARQL Protocol SELECT query.public RDFConnectionRemoteBuilder acceptHeaderAskQuery(String acceptAskHeader)
Accept: header used to when making a SPARQL Protocol ASK query.public RDFConnectionRemoteBuilder acceptHeaderQuery(String acceptHeader)
Accept: header used to when making a
SPARQL Protocol query if no query type specific setting available.public RDFConnectionRemoteBuilder parseCheckSPARQL(boolean parseCheck)
public RDFConnectionRemoteBuilder creator(Function<RDFConnectionRemoteBuilder,RDFConnection> function)
RDFConnection object.
Specialized use: This method allows for custom RDFConnections.
public RDFConnection build()
Licenced under the Apache License, Version 2.0