Click or drag to resize

BaseSesameHttpProtocolConnector Class

Abstract Base Class for connecting to any Store that supports the Sesame 2.0 HTTP Communication protocol.
Inheritance Hierarchy

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class BaseSesameHttpProtocolConnector : BaseAsyncHttpConnector, 
	IAsyncQueryableStorage, IAsyncStorageProvider, IStorageCapabilities, IDisposable, IConfigurationSerializable, 
	IQueryableStorage, IStorageProvider

The BaseSesameHttpProtocolConnector type exposes the following members.

Constructors
  NameDescription
Public methodBaseSesameHttpProtocolConnector(String, String)
Creates a new connection to a Sesame HTTP Protocol supporting Store.
Public methodBaseSesameHttpProtocolConnector(String, String, IWebProxy)
Creates a new connection to a Sesame HTTP Protocol supporting Store.
Public methodBaseSesameHttpProtocolConnector(String, String, String, String)
Creates a new connection to a Sesame HTTP Protocol supporting Store.
Public methodBaseSesameHttpProtocolConnector(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.
(Overrides BaseAsyncHttpConnectorAsyncParentServer.)
Public propertyBaseUri
Gets the Base URI to the repository.
Public propertyDeleteSupported
Returns that deleting graphs from the Sesame store is supported.
(Overrides BaseAsyncHttpConnectorDeleteSupported.)
Public propertyIOBehaviour
Gets the Save Behaviour of Stores that use the Sesame HTTP Protocol.
(Overrides BaseAsyncHttpConnectorIOBehaviour.)
Public propertyIsReadOnly
Returns that the Connection is not read-only.
(Overrides BaseAsyncHttpConnectorIsReadOnly.)
Public propertyIsReady
Returns that the Connection is ready.
(Overrides BaseAsyncHttpConnectorIsReady.)
Public propertyListGraphsSupported
Returns that listing Graphs is supported.
(Overrides BaseAsyncHttpConnectorListGraphsSupported.)
Public propertyParentServer
Gets the parent server.
(Overrides BaseAsyncHttpConnectorParentServer.)
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.
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.
(Overrides BaseAsyncHttpConnectorUpdateSupported.)
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.
Protected methodCreateRequest
Helper method for creating HTTP Requests to the Store.
Public methodDeleteGraph(String)
Deletes a Graph from the Sesame store.
Public methodDeleteGraph(Uri)
Deletes a Graph from the Sesame store.
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.
(Overrides BaseAsyncHttpConnectorDeleteGraph(String, AsyncStorageCallback, Object).)
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.
(Overrides BaseAsyncHttpConnectorDispose.)
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.
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListGraphs
Gets the list of Graphs in the Sesame store.
Public methodListGraphs(AsyncStorageCallback, Object)
Lists the Graphs in the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.)
Public methodLoadGraph(IGraph, String)
Loads a Graph from the Store.
Public methodLoadGraph(IGraph, Uri)
Loads a Graph from the Store.
Public methodLoadGraph(IRdfHandler, String)
Loads a Graph from the Store.
Public methodLoadGraph(IRdfHandler, Uri)
Loads a Graph from the Store.
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.
(Overrides BaseAsyncHttpConnectorLoadGraph(IRdfHandler, String, AsyncStorageCallback, Object).)
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.
Public methodQuery(String, AsyncStorageCallback, Object)
Makes a SPARQL Query against the underlying store.
Public methodQuery(IRdfHandler, ISparqlResultsHandler, String)
Makes a SPARQL Query against the underlying Store processing the results with an appropriate handler from those provided.
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.
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).
Public methodSaveGraph(IGraph, AsyncStorageCallback, Object)
Saves a Graph to the Store asynchronously.
(Overrides BaseAsyncHttpConnectorSaveGraph(IGraph, AsyncStorageCallback, Object).)
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.
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.
(Overrides ObjectToString.)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple)
Updates a Graph.
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
Updates a Graph.
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.
(Overrides BaseAsyncHttpConnectorUpdateGraph(String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object).)
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.
Protected field_fullContextEncoding
Whether to do full encoding of contexts.
Protected field_postAllQueries Obsolete.
Whether queries should always be posted.
Protected field_queryPath
Query Path Prefix.
Protected field_repositoriesPrefix
Repositories Prefix.
Protected field_server
Server the store is hosted on.
Protected field_store
Store ID.
Protected field_updatePath
Update Path Prefix.
Top
Remarks

See here for the protocol specification, this base class supports Version 5 of the protocol which does not include SPARQL Update support.

See Also