Click or drag to resize
GetSharePointFileHandler Class
Handler that serves SharePoint files directly from SharePoint server.
Inheritance Hierarchy

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.2.23
Syntax
C#
public class GetSharePointFileHandler : AbstractGetSharePointFileHandler

The GetSharePointFileHandler type exposes the following members.

Constructors
  NameDescription
Public methodGetSharePointFileHandler
Top
Methods
  NameDescription
Protected methodCompleteRequest
Completes the request.
(Inherited from GetFileHandler.)
Protected methodFileNotFound
Responds HTTP code 404 Not Found.
(Inherited from GetFileHandler.)
Protected methodGetService
Gets the necessary service for getting the specified file.
Protected methodGetSharePointFile
Gets the requested SharePoint file from SharePoint server.
(Overrides AbstractGetSharePointFileHandlerGetSharePointFile.)
Protected methodHandleClientCache
Sets client cache headers. Responds HTTP code 304 Not Modified and returns true when requested file is in client's cache.
(Inherited from GetFileHandler.)
Protected methodLoadFile
Loads requested SharePoint file. Image is resized when needed.
(Inherited from AbstractGetSharePointFileHandler.)
Protected methodLoadFile(CacheSettings)
Loads requested SharePoint file. Loaded file will be cached if it satisfies the cache conditions.
(Inherited from AbstractGetSharePointFileHandler.)
Public methodProcessRequest
Process the request.
(Inherited from GetFileHandler.)
Protected methodProcessRequestInternal
Process get SharePoint file request.
(Inherited from AbstractGetSharePointFileHandler.)
Protected methodRespondNotModified
Responds HTTP code 304 Not Modified.
(Inherited from GetFileHandler.)
Protected methodSendFile
Sends the given file within response.
(Inherited from AbstractGetSharePointFileHandler.)
Protected methodSetResponseHeaders
Sets response headers.
(Inherited from GetFileHandler.)
Protected methodValidateRequest
Validates the request. Returns true on success.
(Overrides AbstractGetSharePointFileHandlerValidateRequest.)
Protected methodWriteBytes
Streams the byte array to the response.
(Inherited from GetFileHandler.)
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.
(Inherited from GetFileHandler.)
Top
Properties
  NameDescription
Protected propertyAllowCache
Returns true if the process allows cache.
(Inherited from AbstractGetSharePointFileHandler.)
Protected propertyAllowClientCache
Returns true if client cache is allowed for the current request.
(Inherited from GetFileHandler.)
Protected propertyCacheFileSizeLimit
Maximum size of the file that will be cached (bytes).
(Inherited from AbstractGetSharePointFileHandler.)
Protected propertyCacheItemName
Gets the cahe item name for currently requested file that will be used when composing the cahe key.
(Overrides AbstractGetSharePointFileHandlerCacheItemName.)
Protected propertyCacheMinutes
Number of minutes the file will be cached. Zero means the file won't be cahed.
(Inherited from AbstractGetSharePointFileHandler.)
Protected propertyClientCacheMinutes
Client cache minutes.
(Inherited from GetFileHandler.)
Protected propertyContext
Current HTTP context.
(Inherited from GetFileHandler.)
Protected propertyFilePath
SharePoint file path.
Protected propertyForceDownload
Indicates whether file forced to be saved on client
(Inherited from AbstractGetSharePointFileHandler.)
Protected propertyHeight
Image height.
(Inherited from AbstractGetSharePointFileHandler.)
Protected propertyIsLiveSite
Indicates if live site mode.
(Inherited from GetFileHandler.)
Public propertyIsReusable
Indicates if handler is reusable.
(Inherited from GetFileHandler.)
Protected propertyMaxSideSize
Image maximum side size.
(Inherited from AbstractGetSharePointFileHandler.)
Protected propertyResponse
Current HTTP response.
(Inherited from GetFileHandler.)
Protected propertyRevalidateClientCache
Indicates if client cahce should be revalidated.
(Inherited from GetFileHandler.)
Protected propertySharePointConnection
SharePoint connection info.
Protected propertyWidth
Image width.
(Inherited from AbstractGetSharePointFileHandler.)
Top
See Also