Click or drag to resize

SesameHttpProtocolConnector Class

Connector for connecting to a Store that supports the Sesame 2.0 HTTP Communication protocol.
Inheritance Hierarchy

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class SesameHttpProtocolConnector : SesameHttpProtocolVersion6Connector

The SesameHttpProtocolConnector type exposes the following members.

Constructors
  NameDescription
Public methodSesameHttpProtocolConnector(String, String)
Creates a new connection to a Sesame HTTP Protocol supporting Store.
Public methodSesameHttpProtocolConnector(String, String, IWebProxy)
Creates a new connection to a Sesame HTTP Protocol supporting Store.
Public methodSesameHttpProtocolConnector(String, String, String, String)
Creates a new connection to a Sesame HTTP Protocol supporting Store.
Public methodSesameHttpProtocolConnector(String, String, String, String, IWebProxy)
Creates a new connection to a Sesame HTTP Protocol supporting Store.
Top
Properties
  NameDescription
Public propertyAsyncParentServer
Gets the parent server.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyBaseUri
Gets the Base URI to the repository.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyDeleteSupported
Returns that deleting graphs from the Sesame store is supported.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyIOBehaviour
Gets the Save Behaviour of Stores that use the Sesame HTTP Protocol.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyIsReadOnly
Returns that the Connection is not read-only.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyIsReady
Returns that the Connection is ready.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyListGraphsSupported
Returns that listing Graphs is supported.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyParentServer
Gets the parent server.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected propertyPassword
Password for accessing the Store.
(Inherited from BaseHttpConnector.)
Public propertyProxy
Gets/Sets a Proxy Server to be used.
(Inherited from BaseHttpConnector.)
Public propertyProxyCredentials
Gets/Sets Credentials to be used for Proxy Server.
(Inherited from BaseHttpConnector.)
Public propertyRepositoryName
Gets the Repository Name that is in use.
(Inherited from BaseSesameHttpProtocolConnector.)
Public propertyTimeout
Gets/Sets the HTTP Timeouts used specified in milliseconds.
(Inherited from BaseHttpConnector.)
Public propertyUpdateSupported
Returns that Updates are supported on Sesame HTTP Protocol supporting Stores.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected propertyUsername
Password for accessing the Store.
(Inherited from BaseHttpConnector.)
Top
Methods
  NameDescription
Protected methodApplyRequestOptions
Helper method which applies standard request options to the request, these currently include proxy settings and HTTP timeout.
(Inherited from BaseHttpConnector.)
Public methodClearProxy
Clears any in-use credentials so subsequent requests will not use a proxy server.
(Inherited from BaseHttpConnector.)
Public methodClearProxyCredentials
Clears the in-use proxy credentials so subsequent requests still use the proxy server but without credentials.
(Inherited from BaseHttpConnector.)
Protected methodCreateRdfWriter
Creates an RDF Writer to use for saving data to the store.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected methodCreateRequest
Helper method for creating HTTP Requests to the Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodDeleteGraph(String)
Deletes a Graph from the Sesame store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodDeleteGraph(Uri)
Deletes a Graph from the Sesame store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodDeleteGraph(Uri, AsyncStorageCallback, Object)
Deletes a Graph from the Store.
(Inherited from BaseAsyncHttpConnector.)
Public methodDeleteGraph(String, AsyncStorageCallback, Object)
Deletes a Graph from the Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected methodDeleteGraphAsync
Helper method for doing async delete operations, callers just need to provide an appropriately prepared HTTP request.
(Inherited from BaseAsyncHttpConnector.)
Public methodDispose
Disposes of the Connector.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodEscapeQuery
Escapes a Query to avoid a character encoding issue when communicating a query to Sesame.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetSaveContentType
Gets the Content Type used to save data to the store i.e. the MIME type to use for the Content-Type header.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListGraphs
Gets the list of Graphs in the Sesame store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodListGraphs(AsyncStorageCallback, Object)
Lists the Graphs in the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.)
Public methodLoadGraph(IGraph, String)
Loads a Graph from the Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodLoadGraph(IGraph, Uri)
Loads a Graph from the Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodLoadGraph(IRdfHandler, String)
Loads a Graph from the Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodLoadGraph(IRdfHandler, Uri)
Loads a Graph from the Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodLoadGraph(IGraph, String, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.)
Public methodLoadGraph(IGraph, Uri, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.)
Public methodLoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.)
Public methodLoadGraph(IRdfHandler, String, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected methodLoadGraphAsync
Helper method for doing async load operations, callers just need to provide an appropriately prepared HTTP request.
(Inherited from BaseAsyncHttpConnector.)
Protected methodMakeRequestSequence
Helper method for doing async operations where a sequence of HTTP requests must be run.
(Inherited from BaseAsyncHttpConnector.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQuery(String)
Makes a SPARQL Query against the underlying Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodQuery(String, AsyncStorageCallback, Object)
Makes a SPARQL Query against the underlying store.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodQuery(IRdfHandler, ISparqlResultsHandler, String)
Makes a SPARQL Query against the underlying Store processing the results with an appropriate handler from those provided.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodQuery(IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object)
Makes a SPARQL Query against the underlying store processing the resulting Graph/Result Set with a handler of your choice.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodSaveGraph(IGraph)
Saves a Graph into the Store (Warning: Completely replaces any existing Graph with the same URI unless there is no URI - see remarks for details).
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodSaveGraph(IGraph, AsyncStorageCallback, Object)
Saves a Graph to the Store asynchronously.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected methodSaveGraphAsync
Helper method for doing async save operations, callers just need to provide an appropriately perpared HTTP requests and a RDF writer which will be used to write the data to the request body.
(Inherited from BaseAsyncHttpConnector.)
Public methodSerializeConfiguration
Serializes the connection's configuration.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected methodSerializeStandardConfig
Helper method which adds standard configuration information (proxy and timeout settings) to serialized configuration.
(Inherited from BaseHttpConnector.)
Public methodSetCredentials (Inherited from BaseHttpConnector.)
Public methodSetProxy(String)
Sets a Proxy Server to be used.
(Inherited from BaseHttpConnector.)
Public methodSetProxy(Uri)
Sets a Proxy Server to be used.
(Inherited from BaseHttpConnector.)
Public methodSetProxyCredentials(String, String)
Sets Credentials to be used for Proxy Server.
(Inherited from BaseHttpConnector.)
Public methodSetProxyCredentials(String, String, String)
Sets Credentials to be used for Proxy Server.
(Inherited from BaseHttpConnector.)
Public methodToString
Gets a String which gives details of the Connection.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodUpdate(String)
Makes a SPARQL Update request to the Sesame server.
(Inherited from SesameHttpProtocolVersion6Connector.)
Public methodUpdate(String, AsyncStorageCallback, Object)
Makes a SPARQL Update request to the Sesame server.
(Inherited from SesameHttpProtocolVersion6Connector.)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple)
Updates a Graph.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
Updates a Graph.
(Inherited from BaseSesameHttpProtocolConnector.)
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
Updates a Graph in the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
Updates a Graph in the Store asychronously.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected methodUpdateGraphAsync
Helper method for doing async update operations, callers just need to provide an appropriately prepared HTTP request and a RDF writer which will be used to write the data to the request body.
(Inherited from BaseAsyncHttpConnector.)
Top
Fields
  NameDescription
Protected field_baseUri
Base Uri for the Store.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected field_fullContextEncoding
Whether to do full encoding of contexts.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected field_postAllQueries Obsolete.
Whether queries should always be posted.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected field_queryPath
Query Path Prefix.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected field_repositoriesPrefix
Repositories Prefix.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected field_server
Server the store is hosted on.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected field_store
Store ID.
(Inherited from BaseSesameHttpProtocolConnector.)
Protected field_updatePath
Update Path Prefix.
(Inherited from BaseSesameHttpProtocolConnector.)
Top
Remarks
Acts as a synonym for whatever the latest version of the Sesame HTTP Protocol that is supported by dotNetRDF might be. Currently this is Version 6 which includes SPARQL Update support (Sesame 2.4+ required).
See Also