Click or drag to resize
AdvancedGetFileService Class
Base class for services retrieving a file.
Inheritance Hierarchy

Namespace: CMS.Routing.Web
Assembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax
C#
public abstract class AdvancedGetFileService : ActionResultServiceBase, 
	IReadOnlySessionState, IRequiresSessionState

The AdvancedGetFileService type exposes the following members.

Constructors
  NameDescription
Protected methodAdvancedGetFileService
Top
Properties
  NameDescription
Protected propertyAllowCache
Returns true if the process allows cache.
Protected propertyAllowClientCache
Returns true if client cache is allowed for the current request.
Protected propertyCacheMinutes
Cache minutes.
Protected propertyClientCacheMinutes
Cache minutes.
Protected propertyCurrentSite
Current site.
Protected propertyCurrentSiteName
Current site name.
Protected propertyStatic memberExcludedResumableExtensions
List of file extensions for which the resumable downloads are disabled.
Protected propertyStatic memberGetFileEndRequest
When true, the request is completed, when false, the Request.End is called.
Protected propertyHeight
Image height.
Protected propertyIsLiveSite
Indicates if live site mode.
Protected propertyLogCommunicationExceptions
Whether to log exception caused by communication problems (e.g. when remote host closes the connection). Log exceptions has to be set to TRUE.
Protected propertyLogExceptions
Logs the exceptions caused by the process.
Protected propertyMaxSideSize
Image maximum side size.
Protected propertyOutputDataCacheItemName
Cache item name for the file output data.
Protected propertyRequestStatusEnum
Gets current request URL rewriting status.
(Overrides ActionResultServiceBaseRequestStatusEnum.)
Protected propertyRevalidateClientCache
Gets or sets the value representing if client HTTP cache should be revalidated.
Protected propertyWidth
Image width.
Top
Methods
  NameDescription
Protected methodETagsMatch
Checks if given and requested ETags match and object has current timestamp.
(Inherited from ActionResultServiceBase.)
Protected methodFileNotFound
Responds HTTP code 404 Not Found.
(Inherited from ActionResultServiceBase.)
Protected methodForbidden
Responds HTTP code 403 Forbidden.
(Inherited from ActionResultServiceBase.)
Public methodGetActionResult
Process the request.
(Inherited from ActionResultServiceBase.)
Protected methodGetActionResultInternal (Overrides ActionResultServiceBaseGetActionResultInternal.)
Protected methodGetBaseCacheKey
Returns the base cache key (created with all parameters considered to be valid for proper caching).
Protected methodGetCacheDependency
Creates the cache dependency from the given keys.
Protected methodGetCachedOutputData
Gets the cached data for the current request.
Protected methodGetFileServiceResult
Returns a CMSActionResult by specific service retrieving file contents.
Protected methodGetIfModifiedSinceRequestHeader
Returns the value of If-Modified-Since HTTP header or if the header not found.
(Inherited from ActionResultServiceBase.)
Protected methodHasIfModifiedSinceRequestHeader
Returns when non-empty If-Modified-Since header is present in current request.
(Inherited from ActionResultServiceBase.)
Protected methodIsExtensionExcludedFromRanges
Indicates if file with given extension is excluded from resumable downloads.
Protected methodLoadSiteName
Loads the site name from the query string.
Protected methodNotModified
Responds HTTP code 304 Not Modified.
Protected methodPrepareFileContentResult
Prepares the CMSFileContentResult object with common properties populated.
Protected methodPreparePhysicalFileResult
Prepares the CMSPhysicalFileResult object with common properties populated.
Protected methodReadFileContent
Reads filePath and returns bytes array.
Protected methodSaveOutputDataToCache
Saves the data for current request to cache.
Protected methodSetCacheabilityAndRevalidation
Sets the cacheability restriction based on the options provided as arguments and AllowCache property. Revalidation is set based on the RevalidateClientCache property.
Protected methodUnauthorized
Responds HTTP code 401 Unauthorized.
(Inherited from ActionResultServiceBase.)
Top
See Also