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: 8.2.23
Syntax
C#
public abstract class GetFileHandler : IHttpHandler

The GetFileHandler type exposes the following members.

Constructors
  NameDescription
Protected methodGetFileHandler
Top
Methods
  NameDescription
Protected methodCompleteRequest
Completes the request.
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
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 cahce should be revalidated.
Top
See Also