Show / Hide Table of Contents

Class BaseSparqlUpdateHandler

Abstract Base Class for creating SPARQL Update Handler implementations
Inheritance
System.Object
BaseSparqlUpdateHandler
UpdateHandler
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 Source

IsReusable

Gets that the Handler is reusable
Declaration
public bool IsReusable { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

HandleErrors(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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

ProcessRequest(HttpContext)

Processes SPARQL Update requests
Declaration
public void ProcessRequest(HttpContext context)
Parameters
Type Name Description
HttpContext context HTTP Context
| Improve this Doc View Source

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

| Improve this Doc View Source

ShowUpdateForm(HttpContext)

Generates a SPARQL Update Form
Declaration
protected virtual void ShowUpdateForm(HttpContext context)
Parameters
Type Name Description
HttpContext context HTTP Context
| Improve this Doc View Source

UpdateConfig(HttpContext)

Updates the Handler Configuration
Declaration
protected virtual void UpdateConfig(HttpContext context)
Parameters
Type Name Description
HttpContext context HTTP Context

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Fields
    • _config
  • Properties
    • IsReusable
  • Methods
    • HandleErrors(HttpContext, String, String, Exception)
    • HandleErrors(HttpContext, String, String, Exception, Int32)
    • LoadConfig(HttpContext)
    • ProcessRequest(HttpContext)
    • ProcessUpdates(SparqlUpdateCommandSet)
    • ShowUpdateForm(HttpContext)
    • UpdateConfig(HttpContext)
  • Extension Methods
Back to top Generated by DocFX