Show / Hide Table of Contents

Class BaseHandlerConfiguration

Abstract Base Class for Handler Configuration
Inheritance
System.Object
BaseHandlerConfiguration
BaseProtocolHandlerConfiguration
BaseQueryHandlerConfiguration
BaseDatasetHandlerConfiguration
BaseGraphHandlerConfiguration
BaseSparqlServerConfiguration
BaseUpdateHandlerConfiguration
Namespace: VDS.RDF.Web.Configuration
Assembly: dotNetRDF.Web.dll
Syntax
public abstract class BaseHandlerConfiguration : object

Constructors

| Improve this Doc View Source

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

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

_defaultNamespaces

Default Namespaces for appropriate writers
Declaration
protected INamespaceMapper _defaultNamespaces
Field Value
Type Description
INamespaceMapper
| Improve this Doc View Source

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

_introText

Introduction Text for the Query Form
Declaration
protected String _introText
Field Value
Type Description
String
| Improve this Doc View Source

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

_showErrors

Whether errors are shown to the User
Declaration
protected bool _showErrors
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_stylesheet

Stylesheet for formatting the Query Form and HTML format results
Declaration
protected String _stylesheet
Field Value
Type Description
String
| Improve this Doc View Source

_writerAttributes

XML Writers can compress literal objects to attributes?
Declaration
protected bool _writerAttributes
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_writerCompressionLevel

Writer Compression Level
Declaration
protected int _writerCompressionLevel
Field Value
Type Description
System.Int32
| Improve this Doc View Source

_writerDtds

XML Writers can use DTDs?
Declaration
protected bool _writerDtds
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_writerHighSpeed

Writer High Speed Mode permitted?
Declaration
protected bool _writerHighSpeed
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_writerMultiThreading

Multi-threaded writers can write multi-threaded?
Declaration
protected bool _writerMultiThreading
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_writerPrettyPrinting

Writer Pretty Printing Mode
Declaration
protected bool _writerPrettyPrinting
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

MaximumCacheDuration

Maximum Cache Duration setting permitted
Declaration
public const int MaximumCacheDuration = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MinimumCacheDuration

Minimum Cache Duration setting permitted
Declaration
public const int MinimumCacheDuration = null
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

CacheDuration

Gets the Cache Duration in minutes to use
Declaration
public int CacheDuration { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

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 Cache object to cache information and they specify the cache duration as a Sliding Duration by default. Set this property to false if you'd prefer absolute expiration

| Improve this Doc View Source

DefaultNamespaces

Gets the Default Namespaces used for writing
Declaration
public INamespaceMapper DefaultNamespaces { get; }
Property Value
Type Description
INamespaceMapper
| Improve this Doc View Source

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

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

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

IntroductionText

Gets the Introduction Text for the Query Form
Declaration
public String IntroductionText { get; }
Property Value
Type Description
String
| Improve this Doc View Source

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

PropertyFunctionFactories

Gets the custom property function factories registered for this Handler
Declaration
public IEnumerable<IPropertyFunctionFactory> PropertyFunctionFactories { get; }
Property Value
Type Description
IEnumerable<IPropertyFunctionFactory>
| Improve this Doc View Source

ShowErrors

Gets whether Error Messages should be shown to users
Declaration
public bool ShowErrors { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Stylesheet

Gets the Stylesheet for formatting HTML Results
Declaration
public String Stylesheet { get; }
Property Value
Type Description
String
| Improve this Doc View Source

UserGroups

Gets the User Groups for the Handler
Declaration
public IEnumerable<UserGroup> UserGroups { get; }
Property Value
Type Description
IEnumerable<UserGroup>
| Improve this Doc View Source

WriterCompressionLevel

Gets the Writer Compression Level to use
Declaration
public int WriterCompressionLevel { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

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

WriterMultiThreading

Gets whether multi-threaded writers are allowed to use multi-threaded mode
Declaration
public bool WriterMultiThreading { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

WriterPrettyPrinting

Gets whether Pretty Printing is enabled
Declaration
public bool WriterPrettyPrinting { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

WriterUseAttributes

Gets whether XML Writers can compress literal objects as attributes
Declaration
public bool WriterUseAttributes { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

WriterUseDtds

Gets whether XML Writers can use DTDs
Declaration
public bool WriterUseDtds { get; }
Property Value
Type Description
System.Boolean

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseHandlerConfiguration(IGraph, INode)
    • BaseHandlerConfiguration(IHttpContext, IGraph, INode)
  • Fields
    • _corsEnabled
    • _defaultNamespaces
    • _expressionFactories
    • _introText
    • _propertyFunctionFactories
    • _showErrors
    • _stylesheet
    • _writerAttributes
    • _writerCompressionLevel
    • _writerDtds
    • _writerHighSpeed
    • _writerMultiThreading
    • _writerPrettyPrinting
    • MaximumCacheDuration
    • MinimumCacheDuration
  • Properties
    • CacheDuration
    • CacheSliding
    • DefaultNamespaces
    • ExpressionFactories
    • HasExpressionFactories
    • HasPropertyFunctionFactories
    • IntroductionText
    • IsCorsEnabled
    • PropertyFunctionFactories
    • ShowErrors
    • Stylesheet
    • UserGroups
    • WriterCompressionLevel
    • WriterHighSpeedMode
    • WriterMultiThreading
    • WriterPrettyPrinting
    • WriterUseAttributes
    • WriterUseDtds
  • Extension Methods
Back to top Generated by DocFX