Click or drag to resize
GetFileService Class
Base class for GetFile handlers. Handles client caching and range requests.
Inheritance Hierarchy
SystemObject
  CMS.Routing.WebActionResultServiceBase
    CMS.Routing.WebGetFileService
      CMS.SharePointAbstractGetSharePointFileService

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

The GetFileService type exposes the following members.

Constructors
  NameDescription
Protected methodGetFileService
Top
Properties
  NameDescription
Protected propertyAllowClientCache
Returns true if client cache is allowed for the current request.
Protected propertyClientCacheMinutes
Client cache minutes.
Protected propertyIsLiveSite
Indicates if live site mode.
Protected propertyRequestStatusEnum
Gets current request URL rewriting status.
(Overrides ActionResultServiceBaseRequestStatusEnum.)
Protected propertyRevalidateClientCache
Indicates if client cache should be revalidated.
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
Process the request.
(Inherited from ActionResultServiceBase.)
Protected methodGetIfModifiedSinceRequestHeader
Returns the value of If-Modified-Since HTTP header or if the header not found.
(Inherited from ActionResultServiceBase.)
Protected methodHandleClientCache
Sets client cache headers. Returns CMSNotModifiedResult when requested file is in client's cache, otherwise.
Protected methodHasIfModifiedSinceRequestHeader
Returns when non-empty If-Modified-Since header is present in current request.
(Inherited from ActionResultServiceBase.)
Protected methodSetResponseHeaders
Sets response headers.
Protected methodUnauthorized
Responds HTTP code 401 Unauthorized.
(Inherited from ActionResultServiceBase.)
Top
See Also