Click or drag to resize
GetMetaFileHandler Class
HTTP handler for serving metafiles.
Inheritance Hierarchy

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
public sealed class GetMetaFileHandler : AdvancedGetFileHandler

The GetMetaFileHandler type exposes the following members.

Constructors
  NameDescription
Public methodGetMetaFileHandler
Top
Fields
  NameDescription
Protected fielddeviceResizeIsUsed
Indicates if max resize for mobile device is used.
(Inherited from AdvancedGetFileHandler.)
Protected fieldmAllowCache
If true, the caching is allowed.
(Inherited from AdvancedGetFileHandler.)
Protected fieldmCacheMinutes
Cache minutes
(Inherited from AdvancedGetFileHandler.)
Protected fieldmClientCacheMinutes
Client cache minutes
(Inherited from AdvancedGetFileHandler.)
Protected fieldmCompleted
Indicates whether request is completed
(Inherited from AdvancedGetFileHandler.)
Protected fieldmDocumentBase
Document base.
(Inherited from AdvancedGetFileHandler.)
Protected fieldmHeight
Height
(Inherited from AdvancedGetFileHandler.)
Protected fieldmMaxByteStream
Max. byte stream
(Inherited from AdvancedGetFileHandler.)
Protected fieldmMaxSideSize
Max. side size
(Inherited from AdvancedGetFileHandler.)
Protected fieldmResizeToDevice
Indicates whether resizing should be used for device
(Inherited from AdvancedGetFileHandler.)
Protected fieldmRevalidateClientCache
Indicates whether client cache should be revalidated
(Inherited from AdvancedGetFileHandler.)
Protected fieldmViewMode
View mode
(Inherited from AdvancedGetFileHandler.)
Protected fieldmWidth
Width
(Inherited from AdvancedGetFileHandler.)
Protected fielduseCacheItemName
Cache item name for the request.
(Inherited from AdvancedGetFileHandler.)
Top
Properties
  NameDescription
Protected propertyAcceptRange
Indicates if resumable downloads should be supported for current file.
(Inherited from AdvancedGetFileHandler.)
Public propertyAllowCache
Returns true if the process allows cache.
(Overrides AdvancedGetFileHandlerAllowCache.)
Public propertyAllowClientCache
Returns true if client cache is allowed for the current request.
(Inherited from AdvancedGetFileHandler.)
Public propertyAreRangesValid
Indicates whether ranges are valid. TRUE: ranges are valid or request is not range request FALSE: all other cases
(Inherited from AdvancedGetFileHandler.)
Public propertyCacheItemName
Cache item name for current request.
(Inherited from AdvancedGetFileHandler.)
Public propertyCacheMinutes
Cache minutes.
(Inherited from AdvancedGetFileHandler.)
Public propertyClientCacheMinutes
Cache minutes.
(Inherited from AdvancedGetFileHandler.)
Protected propertyContext
Returns the current context
(Inherited from AdvancedGetFileHandler.)
Public propertyCurrentSite
Current site.
(Inherited from AdvancedGetFileHandler.)
Public propertyCurrentSiteName
Current site name.
(Inherited from AdvancedGetFileHandler.)
Public propertyCurrentUser
Current User.
(Inherited from AdvancedGetFileHandler.)
Public propertyDataLength
Size of data.
(Inherited from AdvancedGetFileHandler.)
Public propertyDocumentBase
Document base.
(Inherited from AdvancedGetFileHandler.)
Public propertyETag
HTTP header entity tag.
(Inherited from AdvancedGetFileHandler.)
Public propertyHeight
Image height.
(Inherited from AdvancedGetFileHandler.)
Protected propertyIsLiveSite
Indicates if live site mode.
(Inherited from AdvancedGetFileHandler.)
Public propertyIsMultipart
Indicates whether it is multipart range request.
(Inherited from AdvancedGetFileHandler.)
Public propertyIsRangeRequest
Indicates whether it is range request.
(Inherited from AdvancedGetFileHandler.)
Public propertyIsReusable
Indicates if handler is reusable.
(Inherited from AdvancedGetFileHandler.)
Public 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 AdvancedGetFileHandler.)
Public propertyLogExceptions
Logs the exceptions caused by the process.
(Inherited from AdvancedGetFileHandler.)
Public propertyMaxByteStream
Maximum streaming speed in bytes per second.
(Inherited from AdvancedGetFileHandler.)
Public propertyMaxSideSize
Image maximum side size.
(Inherited from AdvancedGetFileHandler.)
Public propertyOutputDataCacheItemName
Cache item name for the file output data.
(Inherited from AdvancedGetFileHandler.)
Public propertyRanges
2D Array in format {{START_RANGE,END_RANGE},{START_RANGE, END_RANGE}}.
(Inherited from AdvancedGetFileHandler.)
Public propertyResizeToDevice
Indicates if max side size parameter should be changes to device profile dimensions.
(Inherited from AdvancedGetFileHandler.)
Public propertyResponse
Returns the current response
(Inherited from AdvancedGetFileHandler.)
Public propertyRevalidateClientCache
Cache minutes.
(Inherited from AdvancedGetFileHandler.)
Protected propertySender
Gets or sets sender object that is used for writing data to the response.
(Inherited from AdvancedGetFileHandler.)
Public propertyViewMode
View mode of the current page.
(Inherited from AdvancedGetFileHandler.)
Public propertyWatermark
If set, watermark image is applied to the image. Name of the watermark image from ~/App_Themes/{theme}/Images/Watermarks
(Inherited from AdvancedGetFileHandler.)
Public propertyWatermarkPosition
Watermark position.
(Inherited from AdvancedGetFileHandler.)
Public propertyWidth
Image width.
(Inherited from AdvancedGetFileHandler.)
Top
Methods
  NameDescription
Protected methodCompleteRequest
Completes the request.
(Inherited from AdvancedGetFileHandler.)
Protected methodDisableDebugging
Disables all debugging for current page
(Inherited from AdvancedGetFileHandler.)
Protected methodETagsMatch
Responds with 304 Not Modified if ETags match and object has current timestamp.
(Inherited from AdvancedGetFileHandler.)
Protected methodGetBaseCacheKey
Returns the base cache key (created with all parameters considered to be valid for proper caching).
(Inherited from AdvancedGetFileHandler.)
Protected methodGetCacheDependency
Creates the cache dependency from the given keys.
(Inherited from AdvancedGetFileHandler.)
Protected methodGetCachedOutputData
Gets the cached data for the current request.
(Inherited from AdvancedGetFileHandler.)
Protected methodGetRange
Parses the range header from the request.
(Inherited from AdvancedGetFileHandler.)
Protected methodHandleDeviceDimension
Handles max side size according to device profile dimensions.
(Inherited from AdvancedGetFileHandler.)
Protected methodHandleDeviceResize
Changes MaxSideSize to device dimensions if device resizing is enabled.
(Inherited from AdvancedGetFileHandler.)
Protected methodCheckRequiredMimeType
Checks if attachment mime type is allowed.
(Inherited from AdvancedGetFileHandler.)
Protected methodIsExtensionExcludedFromRanges
Indicates if file with given extension is excluded from resumable downloads.
(Inherited from AdvancedGetFileHandler.)
Protected methodLoadSiteName
Loads the site name from the query string.
(Inherited from AdvancedGetFileHandler.)
Public methodProcessRequest
Processes the handler request
(Inherited from AdvancedGetFileHandler.)
Protected methodProcessRequestInternal
Processes the handler request
(Overrides AdvancedGetFileHandlerProcessRequestInternal(HttpContextBase).)
Protected methodRespondNotModified
Responds with the not modified code.
(Inherited from AdvancedGetFileHandler.)
Protected methodSaveOutputDataToCache
Saves the data for current request to cache.
(Inherited from AdvancedGetFileHandler.)
Protected methodSetCacheability
Sets the cache-ability with dependence on connection type IE browser doesn't support No-Cache if current connection is secured
(Inherited from AdvancedGetFileHandler.)
Protected methodSetDisposition
Sets response header according to file type.
(Inherited from AdvancedGetFileHandler.)
Protected methodSetResponseContentType
Sets content type of the response based on file MIME type
(Inherited from AdvancedGetFileHandler.)
Protected methodSetRevalidation
Sets the revalidation of the client caches.
(Inherited from AdvancedGetFileHandler.)
Protected methodSetTimeStamps
Sets the last modified and expires header to the response
(Inherited from AdvancedGetFileHandler.)
Protected methodWriteBytes
Streams the byte array to the response.
(Inherited from AdvancedGetFileHandler.)
Protected methodWriteFile
Streams the data file to the response.
(Inherited from AdvancedGetFileHandler.)
Top
See Also