| GetSharePointFileHandler Class |
Namespace: CMS.SharePoint
public class GetSharePointFileHandler : AbstractGetSharePointFileHandler
The GetSharePointFileHandler type exposes the following members.
| Name | Description | |
|---|---|---|
| GetSharePointFileHandler |
| Name | Description | |
|---|---|---|
| CompleteRequest |
Completes the request.
(Inherited from GetFileHandler.) | |
| FileNotFound |
Responds HTTP code 404 Not Found.
(Inherited from GetFileHandler.) | |
| GetService |
Gets the necessary service for getting the specified file.
| |
| GetSharePointFile |
Gets the requested SharePoint file from SharePoint server.
(Overrides AbstractGetSharePointFileHandlerGetSharePointFile.) | |
| HandleClientCache |
Sets client cache headers. Responds HTTP code 304 Not Modified and returns true when requested file is in client's cache.
(Inherited from GetFileHandler.) | |
| LoadFile |
Loads requested SharePoint file. Image is resized when needed.
(Inherited from AbstractGetSharePointFileHandler.) | |
| LoadFile(CacheSettings) |
Loads requested SharePoint file.
Loaded file will be cached if it satisfies the cache conditions.
(Inherited from AbstractGetSharePointFileHandler.) | |
| ProcessRequest |
Process the request.
(Inherited from GetFileHandler.) | |
| ProcessRequestInternal |
Process get SharePoint file request.
(Inherited from AbstractGetSharePointFileHandler.) | |
| RespondNotModified |
Responds HTTP code 304 Not Modified.
(Inherited from GetFileHandler.) | |
| SendFile |
Sends the given file within response.
(Inherited from AbstractGetSharePointFileHandler.) | |
| SetResponseHeaders |
Sets response headers.
(Inherited from GetFileHandler.) | |
| ValidateRequest |
Validates the request.
Returns true on success.
(Overrides AbstractGetSharePointFileHandlerValidateRequest.) | |
| WriteBytes |
Streams the byte array to the response.
(Inherited from GetFileHandler.) |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| mSender |
Instance of the sender object that is used for writing data to the response.
(Inherited from GetFileHandler.) |
| Name | Description | |
|---|---|---|
| AllowCache |
Returns true if the process allows cache.
(Inherited from AbstractGetSharePointFileHandler.) | |
| AllowClientCache |
Returns true if client cache is allowed for the current request.
(Inherited from GetFileHandler.) | |
| CacheFileSizeLimit |
Maximum size of the file that will be cached (bytes).
(Inherited from AbstractGetSharePointFileHandler.) | |
| CacheItemName |
Gets the cahe item name for currently requested file that will be used when composing the cahe key.
(Overrides AbstractGetSharePointFileHandlerCacheItemName.) | |
| CacheMinutes |
Number of minutes the file will be cached. Zero means the file won't be cahed.
(Inherited from AbstractGetSharePointFileHandler.) | |
| ClientCacheMinutes |
Client cache minutes.
(Inherited from GetFileHandler.) | |
| Context |
Current HTTP context.
(Inherited from GetFileHandler.) | |
| FilePath |
SharePoint file path.
| |
| ForceDownload |
Indicates whether file forced to be saved on client
(Inherited from AbstractGetSharePointFileHandler.) | |
| Height |
Image height.
(Inherited from AbstractGetSharePointFileHandler.) | |
| IsLiveSite |
Indicates if live site mode.
(Inherited from GetFileHandler.) | |
| IsReusable |
Indicates if handler is reusable.
(Inherited from GetFileHandler.) | |
| MaxSideSize |
Image maximum side size.
(Inherited from AbstractGetSharePointFileHandler.) | |
| Response |
Current HTTP response.
(Inherited from GetFileHandler.) | |
| RevalidateClientCache |
Indicates if client cahce should be revalidated.
(Inherited from GetFileHandler.) | |
| SharePointConnection |
SharePoint connection info.
| |
| Width |
Image width.
(Inherited from AbstractGetSharePointFileHandler.) |