Package org.apache.jena.web
Class DatasetGraphAccessorHTTP
- java.lang.Object
-
- org.apache.jena.web.DatasetGraphAccessorHTTP
-
- All Implemented Interfaces:
DatasetGraphAccessor
@Deprecated public class DatasetGraphAccessorHTTP extends java.lang.Object implements DatasetGraphAccessor
Deprecated.A dataset graph accessor that talks to stores that implement the SPARQL 1.1 Graph Store Protocol. /** @deprecated This will be replaced by theRDFConnectionstyle at the Graph/Triple level.
-
-
Constructor Summary
Constructors Constructor Description DatasetGraphAccessorHTTP(java.lang.String remote)Deprecated.Create a DatasetUpdater for the remote URLDatasetGraphAccessorHTTP(java.lang.String remote, org.apache.http.client.HttpClient client)Deprecated.Create a DatasetUpdater for the remote URL
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetGraphAcceptHeader()Deprecated.HTTP accept header used to GET a graph.RDFFormatgetOutboundSyntax()Deprecated.RDF syntax to use when sending graphs with POST and PUT.voidhttpDelete()Deprecated.voidhttpDelete(Node graphName)Deprecated.GraphhttpGet()Deprecated.GraphhttpGet(Node graphName)Deprecated.booleanhttpHead()Deprecated.booleanhttpHead(Node graphName)Deprecated.voidhttpPatch(Graph data)Deprecated.voidhttpPatch(Node graphName, Graph data)Deprecated.voidhttpPost(Graph data)Deprecated.voidhttpPost(Node graphName, Graph data)Deprecated.voidhttpPut(Graph data)Deprecated.voidhttpPut(Node graphName, Graph data)Deprecated.voidsetClient(org.apache.http.client.HttpClient client)Deprecated.Sets an HTTP client for use to this datasetvoidsetGraphAcceptHeader(java.lang.String header)Deprecated.Set the HTTP accept header used to GET a graph.voidsetOutboundSyntax(RDFFormat format)Deprecated.Set the RDF syntax to use when sending graphs with POST and PUT.
-
-
-
Constructor Detail
-
DatasetGraphAccessorHTTP
public DatasetGraphAccessorHTTP(java.lang.String remote)
Deprecated.Create a DatasetUpdater for the remote URL- Parameters:
remote- Remote URL
-
DatasetGraphAccessorHTTP
public DatasetGraphAccessorHTTP(java.lang.String remote, org.apache.http.client.HttpClient client)Deprecated.Create a DatasetUpdater for the remote URL- Parameters:
remote- Remote URLclient- HTTP Client
-
-
Method Detail
-
getOutboundSyntax
public RDFFormat getOutboundSyntax()
Deprecated.RDF syntax to use when sending graphs with POST and PUT.
-
setOutboundSyntax
public void setOutboundSyntax(RDFFormat format)
Deprecated.Set the RDF syntax to use when sending graphs with POST and PUT. Defaults to RDF/XML.
-
getGraphAcceptHeader
public java.lang.String getGraphAcceptHeader()
Deprecated.HTTP accept header used to GET a graph.
-
setGraphAcceptHeader
public void setGraphAcceptHeader(java.lang.String header)
Deprecated.Set the HTTP accept header used to GET a graph.
-
setClient
public void setClient(org.apache.http.client.HttpClient client)
Deprecated.Sets an HTTP client for use to this dataset- Parameters:
client- Client
-
httpGet
public Graph httpGet()
Deprecated.- Specified by:
httpGetin interfaceDatasetGraphAccessor
-
httpGet
public Graph httpGet(Node graphName)
Deprecated.- Specified by:
httpGetin interfaceDatasetGraphAccessor
-
httpHead
public boolean httpHead()
Deprecated.- Specified by:
httpHeadin interfaceDatasetGraphAccessor
-
httpHead
public boolean httpHead(Node graphName)
Deprecated.- Specified by:
httpHeadin interfaceDatasetGraphAccessor
-
httpPut
public void httpPut(Graph data)
Deprecated.- Specified by:
httpPutin interfaceDatasetGraphAccessor
-
httpPut
public void httpPut(Node graphName, Graph data)
Deprecated.- Specified by:
httpPutin interfaceDatasetGraphAccessor
-
httpDelete
public void httpDelete()
Deprecated.- Specified by:
httpDeletein interfaceDatasetGraphAccessor
-
httpDelete
public void httpDelete(Node graphName)
Deprecated.- Specified by:
httpDeletein interfaceDatasetGraphAccessor
-
httpPost
public void httpPost(Graph data)
Deprecated.- Specified by:
httpPostin interfaceDatasetGraphAccessor
-
httpPost
public void httpPost(Node graphName, Graph data)
Deprecated.- Specified by:
httpPostin interfaceDatasetGraphAccessor
-
httpPatch
public void httpPatch(Graph data)
Deprecated.- Specified by:
httpPatchin interfaceDatasetGraphAccessor
-
httpPatch
public void httpPatch(Node graphName, Graph data)
Deprecated.- Specified by:
httpPatchin interfaceDatasetGraphAccessor
-
-