Show / Hide Table of Contents

Class BaseSparqlHttpProtocolHandler

Abstract Base Class for creating SPARQL Graph Store HTTP Protocol Handler implementations
Inheritance
System.Object
BaseSparqlHttpProtocolHandler
ProtocolHandler
WildcardProtocolHandler
Namespace: VDS.RDF.Web
Assembly: dotNetRDF.Web.dll
Syntax
public abstract class BaseSparqlHttpProtocolHandler : IHttpHandler

Fields

| Improve this Doc View Source

_basePath

Base Path of the Handler as determined by the implementing class when loading Configuration using the LoadConfig(HttpContext, out String) method
Declaration
protected String _basePath
Field Value
Type Description
String
| Improve this Doc View Source

_config

Handler Configuration
Declaration
protected BaseProtocolHandlerConfiguration _config
Field Value
Type Description
BaseProtocolHandlerConfiguration

Properties

| Improve this Doc View Source

IsReusable

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

Methods

| Improve this Doc View Source

LoadConfig(HttpContext, out String)

Loads the Handler Configuration
Declaration
protected abstract BaseProtocolHandlerConfiguration LoadConfig(HttpContext context, out String basePath)
Parameters
Type Name Description
HttpContext context HTTP Context
String basePath Base Path of the Handler to be determined by an implementing class
Returns
Type Description
BaseProtocolHandlerConfiguration
| Improve this Doc View Source

ProcessRequest(HttpContext)

Processes requests made to the Graph Store HTTP Protocol endpoint and invokes the appropriate methods on the Protocol Processor that is in use
Declaration
public virtual void ProcessRequest(HttpContext context)
Parameters
Type Name Description
HttpContext context HTTP Context
Remarks

Implementations may override this if necessary - if the implementation is only providing additional logic such as authentication, ACLs etc. then it is recommended that the override applies its logic and then calls the base method since this base method will handle much of the error handling and sending of appropriate HTTP Response Codes.

| 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
    • _basePath
    • _config
  • Properties
    • IsReusable
  • Methods
    • LoadConfig(HttpContext, out String)
    • ProcessRequest(HttpContext)
    • UpdateConfig(HttpContext)
  • Extension Methods
Back to top Generated by DocFX