Click or drag to resize
GetMetafileService Class
HTTP handler for serving metafiles.
Inheritance Hierarchy
SystemObject
  CMS.Routing.WebActionResultServiceBase
    CMS.Routing.WebAdvancedGetFileService
      CMS.Routing.WebGetMetafileService

Namespace: CMS.Routing.Web
Assembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax
C#
public sealed class GetMetafileService : AdvancedGetFileService

The GetMetafileService type exposes the following members.

Constructors
  NameDescription
Public methodGetMetafileService
Top
Properties
  NameDescription
Protected propertyAllowCache
Returns true if the process allows cache.
(Overrides AdvancedGetFileServiceAllowCache.)
Protected propertyAllowClientCache
Returns true if client cache is allowed for the current request.
(Inherited from AdvancedGetFileService.)
Protected propertyCacheMinutes
Cache minutes.
(Inherited from AdvancedGetFileService.)
Protected propertyClientCacheMinutes
Cache minutes.
(Inherited from AdvancedGetFileService.)
Protected propertyCurrentSite
Current site.
(Inherited from AdvancedGetFileService.)
Protected propertyCurrentSiteName
Current site name.
(Inherited from AdvancedGetFileService.)
Protected propertyHeight
Image height.
(Inherited from AdvancedGetFileService.)
Protected propertyIsLiveSite
Indicates if live site mode.
(Inherited from AdvancedGetFileService.)
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.
(Inherited from AdvancedGetFileService.)
Protected propertyLogExceptions
Logs the exceptions caused by the process.
(Inherited from AdvancedGetFileService.)
Protected propertyMaxSideSize
Image maximum side size.
(Inherited from AdvancedGetFileService.)
Protected propertyOutputDataCacheItemName
Cache item name for the file output data.
(Inherited from AdvancedGetFileService.)
Protected propertyRequestStatusEnum
Gets current request URL rewriting status.
(Inherited from AdvancedGetFileService.)
Protected propertyRevalidateClientCache
Gets or sets the value representing if client HTTP cache should be revalidated.
(Inherited from AdvancedGetFileService.)
Protected propertyWidth
Image width.
(Inherited from AdvancedGetFileService.)
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 (Inherited from AdvancedGetFileService.)
Protected methodGetBaseCacheKey
Returns the base cache key (created with all parameters considered to be valid for proper caching).
(Inherited from AdvancedGetFileService.)
Protected methodGetCacheDependency
Creates the cache dependency from the given keys.
(Inherited from AdvancedGetFileService.)
Protected methodGetCachedOutputData
Gets the cached data for the current request.
(Inherited from AdvancedGetFileService.)
Protected methodGetFileServiceResult
Handles metafile caching and returns the request process result as a CMSActionResult.
(Overrides AdvancedGetFileServiceGetFileServiceResult.)
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.
(Inherited from AdvancedGetFileService.)
Protected methodLoadSiteName
Loads the site name from the query string.
(Inherited from AdvancedGetFileService.)
Protected methodNotModified
Responds HTTP code 304 Not Modified.
(Inherited from AdvancedGetFileService.)
Protected methodPrepareFileContentResult
Prepares the CMSFileContentResult object with common properties populated.
(Inherited from AdvancedGetFileService.)
Protected methodPreparePhysicalFileResult
Prepares the CMSPhysicalFileResult object with common properties populated.
(Inherited from AdvancedGetFileService.)
Protected methodReadFileContent
Reads filePath and returns bytes array.
(Inherited from AdvancedGetFileService.)
Protected methodSaveOutputDataToCache
Saves the data for current request to cache.
(Inherited from AdvancedGetFileService.)
Protected methodSetCacheabilityAndRevalidation
Sets the cacheability restriction based on the options provided as arguments and AllowCache property. Revalidation is set based on the RevalidateClientCache property.
(Inherited from AdvancedGetFileService.)
Protected methodUnauthorized
Responds HTTP code 401 Unauthorized.
(Inherited from ActionResultServiceBase.)
Top
See Also