|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jena.web.DatasetGraphAccessorHTTP
public class DatasetGraphAccessorHTTP
A dataset graph accessor that talks to stores that implement the SPARQL 1.1 Graph Store Protocol
Constructor Summary | |
---|---|
DatasetGraphAccessorHTTP(String remote)
Create a DatasetUpdater for the remote URL |
|
DatasetGraphAccessorHTTP(String remote,
HttpAuthenticator authenticator)
Create a DatasetUpdater for the remote URL |
Method Summary | |
---|---|
String |
getGraphAcceptHeader()
HTTP accept header used to GET a graph. |
RDFFormat |
getOutboundSyntax()
RDF syntax to use when sending graphs with POST and PUT. |
void |
httpDelete()
|
void |
httpDelete(Node graphName)
|
Graph |
httpGet()
|
Graph |
httpGet(Node graphName)
|
boolean |
httpHead()
|
boolean |
httpHead(Node graphName)
|
void |
httpPatch(Graph data)
|
void |
httpPatch(Node graphName,
Graph data)
|
void |
httpPost(Graph data)
|
void |
httpPost(Node graphName,
Graph data)
|
void |
httpPut(Graph data)
|
void |
httpPut(Node graphName,
Graph data)
|
void |
setAuthentication(String username,
char[] password)
Sets authentication credentials for the remote URL |
void |
setAuthenticator(HttpAuthenticator authenticator)
Sets an authenticator to use for authentication to the remote URL |
void |
setGraphAcceptHeader(String header)
Set the HTTP accept header used to GET a graph. |
void |
setOutboundSyntax(RDFFormat format)
Set the RDF syntax to use when sending graphs with POST and PUT. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatasetGraphAccessorHTTP(String remote)
remote
- Remote URLpublic DatasetGraphAccessorHTTP(String remote, HttpAuthenticator authenticator)
remote
- Remote URLauthenticator
- HTTP AuthenticatorMethod Detail |
---|
public RDFFormat getOutboundSyntax()
public void setOutboundSyntax(RDFFormat format)
public String getGraphAcceptHeader()
public void setGraphAcceptHeader(String header)
public void setAuthentication(String username, char[] password)
username
- User namepassword
- Passwordpublic void setAuthenticator(HttpAuthenticator authenticator)
authenticator
- Authenticatorpublic Graph httpGet()
httpGet
in interface DatasetGraphAccessor
public Graph httpGet(Node graphName)
httpGet
in interface DatasetGraphAccessor
public boolean httpHead()
httpHead
in interface DatasetGraphAccessor
public boolean httpHead(Node graphName)
httpHead
in interface DatasetGraphAccessor
public void httpPut(Graph data)
httpPut
in interface DatasetGraphAccessor
public void httpPut(Node graphName, Graph data)
httpPut
in interface DatasetGraphAccessor
public void httpDelete()
httpDelete
in interface DatasetGraphAccessor
public void httpDelete(Node graphName)
httpDelete
in interface DatasetGraphAccessor
public void httpPost(Graph data)
httpPost
in interface DatasetGraphAccessor
public void httpPost(Node graphName, Graph data)
httpPost
in interface DatasetGraphAccessor
public void httpPatch(Graph data)
httpPatch
in interface DatasetGraphAccessor
public void httpPatch(Node graphName, Graph data)
httpPatch
in interface DatasetGraphAccessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |