Class BaseHandlerConfiguration
Abstract Base Class for Handler Configuration
Inheritance
System.Object
BaseHandlerConfiguration
Namespace: VDS.RDF.Web.Configuration
Assembly: dotNetRDF.Web.dll
Syntax
public abstract class BaseHandlerConfiguration : object
Constructors
| Improve this Doc View SourceBaseHandlerConfiguration(IGraph, INode)
Creates a new Base Handler Configuration which loads common Handler settings from a Configuration Graph
Declaration
public BaseHandlerConfiguration(IGraph g, INode objNode)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Configuration Graph |
INode | objNode | Object Node |
BaseHandlerConfiguration(IHttpContext, IGraph, INode)
Creates a new Base Handler Configuration which loads common Handler settings from a Configuration Graph
Declaration
public BaseHandlerConfiguration(IHttpContext context, IGraph g, INode objNode)
Parameters
Type | Name | Description |
---|---|---|
IHttpContext | context | HTTP Context |
IGraph | g | Configuration Graph |
INode | objNode | Object Node |
Remarks
It is acceptable for the context
parameter to be null
Fields
| Improve this Doc View Source_corsEnabled
Sets whether CORS headers are output
Declaration
protected bool _corsEnabled
Field Value
Type | Description |
---|---|
System.Boolean |
_defaultNamespaces
Default Namespaces for appropriate writers
Declaration
protected INamespaceMapper _defaultNamespaces
Field Value
Type | Description |
---|---|
INamespaceMapper |
_expressionFactories
List of Custom Expression Factories which have been specified in the Handler Configuration
Declaration
protected List<ISparqlCustomExpressionFactory> _expressionFactories
Field Value
Type | Description |
---|---|
List<ISparqlCustomExpressionFactory> |
_introText
Introduction Text for the Query Form
Declaration
protected String _introText
Field Value
Type | Description |
---|---|
String |
_propertyFunctionFactories
List of Property Function Factories which have been specified in the Handler Configuration
Declaration
protected List<IPropertyFunctionFactory> _propertyFunctionFactories
Field Value
Type | Description |
---|---|
List<IPropertyFunctionFactory> |
_showErrors
Whether errors are shown to the User
Declaration
protected bool _showErrors
Field Value
Type | Description |
---|---|
System.Boolean |
_stylesheet
Stylesheet for formatting the Query Form and HTML format results
Declaration
protected String _stylesheet
Field Value
Type | Description |
---|---|
String |
_writerAttributes
XML Writers can compress literal objects to attributes?
Declaration
protected bool _writerAttributes
Field Value
Type | Description |
---|---|
System.Boolean |
_writerCompressionLevel
Writer Compression Level
Declaration
protected int _writerCompressionLevel
Field Value
Type | Description |
---|---|
System.Int32 |
_writerDtds
XML Writers can use DTDs?
Declaration
protected bool _writerDtds
Field Value
Type | Description |
---|---|
System.Boolean |
_writerHighSpeed
Writer High Speed Mode permitted?
Declaration
protected bool _writerHighSpeed
Field Value
Type | Description |
---|---|
System.Boolean |
_writerMultiThreading
Multi-threaded writers can write multi-threaded?
Declaration
protected bool _writerMultiThreading
Field Value
Type | Description |
---|---|
System.Boolean |
_writerPrettyPrinting
Writer Pretty Printing Mode
Declaration
protected bool _writerPrettyPrinting
Field Value
Type | Description |
---|---|
System.Boolean |
MaximumCacheDuration
Maximum Cache Duration setting permitted
Declaration
public const int MaximumCacheDuration = null
Field Value
Type | Description |
---|---|
System.Int32 |
MinimumCacheDuration
Minimum Cache Duration setting permitted
Declaration
public const int MinimumCacheDuration = null
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceCacheDuration
Gets the Cache Duration in minutes to use
Declaration
public int CacheDuration { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CacheSliding
Gets whether Sliding Cache expiration is used
Declaration
public bool CacheSliding { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
The SPARQL Handlers use the ASP.Net
DefaultNamespaces
Gets the Default Namespaces used for writing
Declaration
public INamespaceMapper DefaultNamespaces { get; }
Property Value
Type | Description |
---|---|
INamespaceMapper |
ExpressionFactories
Gets the Custom Expression Factories which are in the Config for this Handler
Declaration
public IEnumerable<ISparqlCustomExpressionFactory> ExpressionFactories { get; }
Property Value
Type | Description |
---|---|
IEnumerable<ISparqlCustomExpressionFactory> |
HasExpressionFactories
Gets whether any Custom Expression Factories are registered in the Config for this Handler
Declaration
public bool HasExpressionFactories { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasPropertyFunctionFactories
Gets whether there are any custom property function factories registered for this Handler
Declaration
public bool HasPropertyFunctionFactories { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IntroductionText
Gets the Introduction Text for the Query Form
Declaration
public String IntroductionText { get; }
Property Value
Type | Description |
---|---|
String |
IsCorsEnabled
Gets whether CORS (Cross Origin Resource Sharing) headers are sent to the client in HTTP responses
Declaration
public bool IsCorsEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PropertyFunctionFactories
Gets the custom property function factories registered for this Handler
Declaration
public IEnumerable<IPropertyFunctionFactory> PropertyFunctionFactories { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IPropertyFunctionFactory> |
ShowErrors
Gets whether Error Messages should be shown to users
Declaration
public bool ShowErrors { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Stylesheet
Gets the Stylesheet for formatting HTML Results
Declaration
public String Stylesheet { get; }
Property Value
Type | Description |
---|---|
String |
UserGroups
Gets the User Groups for the Handler
Declaration
public IEnumerable<UserGroup> UserGroups { get; }
Property Value
Type | Description |
---|---|
IEnumerable<UserGroup> |
WriterCompressionLevel
Gets the Writer Compression Level to use
Declaration
public int WriterCompressionLevel { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
WriterHighSpeedMode
Gets whether some writers can use high-speed mode when they detect that Graphs are ill-suited to syntax compression
Declaration
public bool WriterHighSpeedMode { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
WriterMultiThreading
Gets whether multi-threaded writers are allowed to use multi-threaded mode
Declaration
public bool WriterMultiThreading { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
WriterPrettyPrinting
Gets whether Pretty Printing is enabled
Declaration
public bool WriterPrettyPrinting { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
WriterUseAttributes
Gets whether XML Writers can compress literal objects as attributes
Declaration
public bool WriterUseAttributes { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
WriterUseDtds
Gets whether XML Writers can use DTDs
Declaration
public bool WriterUseDtds { get; }
Property Value
Type | Description |
---|---|
System.Boolean |