Click or drag to resize
GetFileHandler Class
Base class for GetFile handlers. Handles client caching and range requests.
Inheritance Hierarchy

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
public abstract class GetFileHandler : IHttpHandler

The GetFileHandler type exposes the following members.

Constructors
  NameDescription
Protected methodGetFileHandler
Top
Fields
  NameDescription
Protected fieldmSender
Instance of the sender object that is used for writing data to the response.
Top
Properties
  NameDescription
Protected propertyAllowClientCache
Returns true if client cache is allowed for the current request.
Protected propertyClientCacheMinutes
Client cache minutes.
Protected propertyContext
Current HTTP context.
Protected propertyIsLiveSite
Indicates if live site mode.
Public propertyIsReusable
Indicates if handler is reusable.
Protected propertyResponse
Current HTTP response.
Protected propertyRevalidateClientCache
Indicates if client cache should be revalidated.
Top
Methods
  NameDescription
Protected methodCompleteRequest
Completes the request.
Protected methodDisableDebugging
Disables all debugging for current page
Protected methodFileNotFound
Responds HTTP code 404 Not Found.
Protected methodHandleClientCache
Sets client cache headers. Responds HTTP code 304 Not Modified and returns true when requested file is in client's cache.
Public methodProcessRequest
Process the request.
Protected methodProcessRequestInternal
Process the request.
Protected methodRespondNotModified
Responds HTTP code 304 Not Modified.
Protected methodSetResponseHeaders
Sets response headers.
Protected methodWriteBytes
Streams the byte array to the response.
Top
See Also