Class BaseSparqlUpdateHandler
Abstract Base Class for creating SPARQL Update Handler implementations
Namespace: VDS.RDF.Web
Assembly: dotNetRDF.Web.dll
Syntax
public abstract class BaseSparqlUpdateHandler : IHttpHandler
Fields
| Improve this Doc View Source_config
Handler Configuration
Declaration
protected BaseUpdateHandlerConfiguration _config
Field Value
Type | Description |
---|---|
BaseUpdateHandlerConfiguration |
Properties
| Improve this Doc View SourceIsReusable
Gets that the Handler is reusable
Declaration
public bool IsReusable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceHandleErrors(HttpContext, String, String, Exception)
Handles errors in processing SPARQL Update Requests
Declaration
protected virtual void HandleErrors(HttpContext context, String title, String update, Exception ex)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | Context of the HTTP Request |
String | title | Error title |
String | update | SPARQL Update |
Exception | ex | Error |
HandleErrors(HttpContext, String, String, Exception, Int32)
Handles errors in processing SPARQL Update Requests
Declaration
protected virtual void HandleErrors(HttpContext context, String title, String update, Exception ex, int statusCode)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | Context of the HTTP Request |
String | title | Error title |
String | update | SPARQL Update |
Exception | ex | Error |
System.Int32 | statusCode | HTTP Status Code |
LoadConfig(HttpContext)
Loads the Handler Configuration
Declaration
protected abstract BaseUpdateHandlerConfiguration LoadConfig(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | HTTP Context |
Returns
Type | Description |
---|---|
BaseUpdateHandlerConfiguration |
ProcessRequest(HttpContext)
Processes SPARQL Update requests
Declaration
public void ProcessRequest(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | HTTP Context |
ProcessUpdates(SparqlUpdateCommandSet)
Processes SPARQL Updates
Declaration
protected virtual void ProcessUpdates(SparqlUpdateCommandSet cmds)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandSet | cmds | Update Command Set |
Remarks
Implementations should override this method if their behaviour requires more than just invoking the configured Update processor
ShowUpdateForm(HttpContext)
Generates a SPARQL Update Form
Declaration
protected virtual void ShowUpdateForm(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | HTTP Context |
UpdateConfig(HttpContext)
Updates the Handler Configuration
Declaration
protected virtual void UpdateConfig(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | HTTP Context |