Class BaseGraphHandler
Abstract base class for HTTP Handlers for serving Graphs in ASP.Net applications
Inheritance
System.Object
BaseGraphHandler
Assembly: dotNetRDF.Web.dll
Syntax
public abstract class BaseGraphHandler : IHttpHandler
Fields
|
Improve this Doc
View Source
_config
Handler Configuration
Declaration
protected BaseGraphHandlerConfiguration _config
Field Value
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
ComputeETag(IGraph)
Method which computes an ETag for a Graph
Declaration
protected virtual String ComputeETag(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph |
Returns
Remarks
|
Improve this Doc
View Source
LoadConfig(HttpContext)
Abstract method in which concrete implementations must load and return their Configuration
Declaration
protected abstract BaseGraphHandlerConfiguration LoadConfig(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
HTTP Context |
Returns
|
Improve this Doc
View Source
ProcessGraph(IGraph)
Method which can be used to alter the Graph before it is served
Declaration
protected virtual IGraph ProcessGraph(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph |
Returns
|
Improve this Doc
View Source
ProcessRequest(HttpContext)
Processes the request by loading the Configuration in order to obtain the Graph to be served and then serving it to the client
Declaration
public void ProcessRequest(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
HTTP Context |
|
Improve this Doc
View Source
SelectWriter(MimeTypeDefinition)
Selects the Writer to use for sending the Graph to the Client
Declaration
protected virtual IRdfWriter SelectWriter(MimeTypeDefinition definition)
Parameters
Returns
Remarks
|
Improve this Doc
View Source
UpdateConfig(HttpContext)
Abstract method in which concrete implementations may update their Configuration post-request processing if necessary
Declaration
protected virtual void UpdateConfig(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
HTTP Context |
Extension Methods