| AdvancedGetFileService Class |
Namespace: CMS.Routing.Web
public abstract class AdvancedGetFileService : ActionResultServiceBase, IReadOnlySessionState, IRequiresSessionState
The AdvancedGetFileService type exposes the following members.
| Name | Description | |
|---|---|---|
| AdvancedGetFileService |
| Name | Description | |
|---|---|---|
| AllowCache |
Returns true if the process allows cache.
| |
| AllowClientCache |
Returns true if client cache is allowed for the current request.
| |
| CacheMinutes |
Cache minutes.
| |
| ClientCacheMinutes |
Cache minutes.
| |
| CurrentSite |
Current site.
| |
| CurrentSiteName |
Current site name.
| |
| ExcludedResumableExtensions |
List of file extensions for which the resumable downloads are disabled.
| |
| GetFileEndRequest |
When true, the request is completed, when false, the Request.End is called.
| |
| Height |
Image height.
| |
| IsLiveSite |
Indicates if live site mode.
| |
| LogCommunicationExceptions |
Whether to log exception caused by communication problems (e.g. when remote host closes the connection).
Log exceptions has to be set to TRUE.
| |
| LogExceptions |
Logs the exceptions caused by the process.
| |
| MaxSideSize |
Image maximum side size.
| |
| OutputDataCacheItemName |
Cache item name for the file output data.
| |
| RequestStatusEnum |
Gets current request URL rewriting status.
(Overrides ActionResultServiceBaseRequestStatusEnum.) | |
| RevalidateClientCache |
Gets or sets the value representing if client HTTP cache should be revalidated.
| |
| Width |
Image width.
|
| Name | Description | |
|---|---|---|
| ETagsMatch |
Checks if given and requested ETags match and object has current timestamp.
(Inherited from ActionResultServiceBase.) | |
| FileNotFound |
Responds HTTP code 404 Not Found.
(Inherited from ActionResultServiceBase.) | |
| Forbidden |
Responds HTTP code 403 Forbidden.
(Inherited from ActionResultServiceBase.) | |
| GetActionResult |
Process the request.
(Inherited from ActionResultServiceBase.) | |
| GetActionResultInternal |
Checks domain policy for current site and calls GetFileServiceResult.
(Overrides ActionResultServiceBaseGetActionResultInternal.) | |
| GetBaseCacheKey |
Returns the base cache key (created with all parameters considered to be valid for proper caching).
| |
| GetCacheDependency |
Creates the cache dependency from the given keys.
| |
| GetCachedOutputData |
Gets the cached data for the current request.
| |
| GetFileServiceResult |
Returns a CMSActionResult by specific service retrieving file contents.
| |
| GetIfModifiedSinceRequestHeader |
Returns the value of If-Modified-Since HTTP header or if the header not found.
(Inherited from ActionResultServiceBase.) | |
| HasIfModifiedSinceRequestHeader |
Returns when non-empty If-Modified-Since
header is present in current request.
(Inherited from ActionResultServiceBase.) | |
| IsExtensionExcludedFromRanges |
Indicates if file with given extension is excluded from resumable downloads.
| |
| LoadSiteName |
Loads the site name from the query string.
| |
| NotModified |
Responds HTTP code 304 Not Modified.
| |
| PrepareFileContentResult |
Prepares the CMSFileContentResult object with common properties populated.
| |
| PreparePhysicalFileResult |
Prepares the CMSPhysicalFileResult object with common properties populated.
| |
| ReadFileContent |
Reads filePath and returns bytes array.
| |
| SaveOutputDataToCache |
Saves the data for current request to cache.
| |
| SetCacheabilityAndRevalidation |
Sets the cacheability restriction based on the options provided as arguments and AllowCache property.
Revalidation is set based on the RevalidateClientCache property.
| |
| Unauthorized |
Responds HTTP code 401 Unauthorized.
(Inherited from ActionResultServiceBase.) |