AbstractGetSharePointFileHandler Class |
Namespace: CMS.SharePoint
public abstract class AbstractGetSharePointFileHandler : GetFileHandler
The AbstractGetSharePointFileHandler type exposes the following members.
Name | Description | |
---|---|---|
AbstractGetSharePointFileHandler |
Name | Description | |
---|---|---|
CACHE_SIZE_PARAMETER |
Name of the query parameter for cahe size limit setting.
| |
CACHE_TIME_PARAMETER |
Name of the query parameter for cahe minutes setting.
| |
IMAGE_HEIGHT_PARAMETER |
Name of the query parameter for image height setting.
| |
IMAGE_MAXSIDESIZE_PARAMETER |
Name of the query parameter for image max side size setting.
| |
IMAGE_WIDTH_PARAMETER |
Name of the query parameter for image width setting.
| |
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.
| |
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).
| |
CacheItemName |
Gets the cahe item name for currently requested file that will be used when composing the cahe key.
| |
CacheMinutes |
Number of minutes the file will be cached. Zero means the file won't be cahed.
| |
ClientCacheMinutes |
Client cache minutes.
(Inherited from GetFileHandler.) | |
Context |
Current HTTP context.
(Inherited from GetFileHandler.) | |
ForceDownload |
Indicates whether file forced to be saved on client
| |
Height |
Image height.
| |
IsLiveSite |
Indicates if live site mode.
(Inherited from GetFileHandler.) | |
IsReusable |
Indicates if handler is reusable.
(Inherited from GetFileHandler.) | |
MaxSideSize |
Image maximum side size.
| |
Response |
Current HTTP response.
(Inherited from GetFileHandler.) | |
RevalidateClientCache |
Indicates if client cache should be revalidated.
(Inherited from GetFileHandler.) | |
Width |
Image width.
|
Name | Description | |
---|---|---|
CompleteRequest |
Completes the request.
(Inherited from GetFileHandler.) | |
DisableDebugging |
Disables all debugging for current page
(Inherited from GetFileHandler.) | |
FileNotFound |
Responds HTTP code 404 Not Found.
(Inherited from GetFileHandler.) | |
GetSharePointFile |
Gets the requested SharePoint file.
| |
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.
| |
LoadFile(CacheSettings) |
Loads requested SharePoint file.
Loaded file will be cached if it satisfies the cache conditions.
| |
ProcessRequest |
Process the request.
(Inherited from GetFileHandler.) | |
ProcessRequestInternal |
Process get SharePoint file request.
(Overrides GetFileHandlerProcessRequestInternal(HttpContext).) | |
RespondNotModified |
Responds HTTP code 304 Not Modified.
(Inherited from GetFileHandler.) | |
SendFile |
Sends the given file within response.
| |
SetResponseHeaders |
Sets response headers.
(Inherited from GetFileHandler.) | |
ValidateRequest |
Validates the request.
Returns true on success.
| |
WriteBytes |
Streams the byte array to the response.
(Inherited from GetFileHandler.) |