[This is preliminary documentation and is subject to change.]
The FileDownloadHandler type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | FileDownloadHandler(WorkDispatcher, IConfigSectionNode) | Initializes a new instance of the FileDownloadHandler class |
![]() | FileDownloadHandler(WorkDispatcher, String, Int32, WorkMatch) | Initializes a new instance of the FileDownloadHandler class |
Methods
Name | Description | |
---|---|---|
![]() | ___setParentHandler | (Inherited from WorkHandler.) |
![]() | __setComponentDirector | (Inherited from ApplicationComponent.) |
![]() ![]() | CutVersionSegment | |
![]() | Destructor | (Inherited from WorkHandler.) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | DoHandleWork | (Overrides WorkHandler DoHandleWork(WorkContext).) |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | FilterAndHandleWork |
Handles the work - first involes all filters then calls HandleWork to do actual processing
Note: This method is re-entrant by multiple threads
(Inherited from WorkHandler.) |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | HandleWork |
Handles the work - i.e. renders a template page or calls MVC controller method.
This method does not pass through handler's filters
Note: This method is re-entrant by multiple threads
(Inherited from WorkHandler.) |
![]() | MakeMatch |
Returns true when the particular work request matches the pattern match of this handler.
Also sets the WorkHandler's MatchedVars property filled with matched values
(Inherited from WorkHandler.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | RegisterFilter |
Registers filter and returns true if the named instance has not been registered yet
Note: it is possible to call this method on active server that is - inject filters while serving requests
(Inherited from WorkHandler.) |
![]() | ToString | (Inherited from WorkHandler.) |
![]() | UnRegisterFilter |
Unregisters filter and returns true if the named instance has been removed
Note: it is possible to call this method on active server that is - remove filters while serving requests
(Inherited from WorkHandler.) |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | CONFIG_CACHE_CONTROL_SECTION | |
![]() ![]() | INVALID_ROOT | |
![]() ![]() | VAR_ATTACHMENT | |
![]() ![]() | VAR_CHUNKED | |
![]() ![]() | VAR_FILE_PATH |
Properties
Name | Description | |
---|---|---|
![]() | CacheControl | |
![]() | ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from ApplicationComponent.) |
![]() | ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from ApplicationComponent.) |
![]() | ComponentSID |
Returns process/instance unique app component system id
(Inherited from ApplicationComponent.) |
![]() | ComponentStartTime |
Returns local computer time of component start (not from application container time)
(Inherited from ApplicationComponent.) |
![]() | Dispatcher |
Returns the dispatcher that this handler works under
(Inherited from WorkHandler.) |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | Filters |
Returns ordered registry of filters
(Inherited from WorkHandler.) |
![]() | Matches |
Returns matches used by this handler. May change the registry at runtime (inject/remove matches)
(Inherited from WorkHandler.) |
![]() | Name |
Returns the handler instance name
(Inherited from WorkHandler.) |
![]() | NetGate |
Returns network gate that handler implementation may use to set business variables or null
(Inherited from WorkHandler.) |
![]() | Order |
Returns the handler order in handler registry. Order is used for URI pattern matching
(Inherited from WorkHandler.) |
![]() | ParentHandler |
Returns parent handler that this handler is under or null
(Inherited from WorkHandler.) |
![]() | RootPath |
Specifies local root path
|
![]() | Server |
Returns the server that this handler works under
(Inherited from WorkHandler.) |
![]() | Throw |
Specifies whether the handler generates simple 404 text or throws
|
![]() | UsePortalHub |
When true, downloads files from PortalHub.ContentFileSystem for selected portal
|
![]() | VersionSegmentPrefix |
When set indicates the case-insensitive prefix of a path segment that should be ignored by the file system.
Version prefixes are used for attaching a surrogate path "folder" that makes resource differ based on their content.
For example when prefix is "@", path '/static/img/@767868768768/picture.png' resolves to actual '/static/img/picture.png'
|
See Also