Click or drag to resize

EngineAsyncTHierarchyItemAsync Class

IT Hit WebDAV Classes Reference
Provides common functionality for IT Hit WebDAV Engine and IT Hit G Suite Engine.
Inheritance Hierarchy

Namespace:  ITHit.Server
Assembly:  ITHit.Server (in ITHit.Server.dll) Version: 13.3.13068
public abstract class EngineAsync<THierarchyItemAsync>
where THierarchyItemAsync : IHierarchyItemBase

Type Parameters

Type implements IHierarchyItemBase

The EngineAsyncTHierarchyItemAsync type exposes the following members.

Protected methodEngineAsyncTHierarchyItemAsync
Initializes a new instance of the EngineAsyncTHierarchyItemAsync class
Public propertyCalculateContentLength
Indicates if response content length is calculated. Default is true.
Public propertyContentEncoding
Gets or sets the HTTP character set of the output stream. Default is UTF-8.
Public propertyCorsAllowedFor
Enables or disables CORS.
Public propertyCode exampleLicense
Gets or sets the license text.
Public propertyLogger
ILogger instance which engine will use for logging.
Public propertyOutputXmlFormatting
Specifies whether XML written to the output will be formatted. Default is false.
Public propertyUseFullUris
Specifies whether engine shall use full or relative urls. Default is true.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleRegisterMethodHandler
Registers custom method handler.
Public methodRunAsync
Processes request and generates response.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

You will not create this class directly, instead you will create an instance of DavEngineAsync calss or GSuiteEngineAsync class. The Engine parses the request sent by client application, processes requests making calls to your interfaces implementations and generates response. Find more information about creating each Engine type in the DavEngineAsync and GSuiteEngineAsync classes description.

You must set License property before you can use the Engine.

All updates invoked within one request execution shall be inside a single transaction. Transaction can be committed or rollbacked in BeforeResponseAsync method, which is called right before starting sending response to the client. After this method is called, no methods of interfaces which update state will be called. However methods which read state can be called.

See Also