GetFileHandler Class |
Namespace: CMS.Routing.Web
public abstract class GetFileHandler : IHttpHandler
The GetFileHandler type exposes the following members.
Name | Description | |
---|---|---|
GetFileHandler |
Name | Description | |
---|---|---|
AllowClientCache |
Returns true if client cache is allowed for the current request.
| |
ClientCacheMinutes |
Client cache minutes.
| |
Context |
Current HTTP context.
| |
IsLiveSite |
Indicates if live site mode.
| |
IsReusable |
Indicates if handler is reusable.
| |
Response |
Current HTTP response.
| |
RevalidateClientCache |
Indicates if client cache should be revalidated.
| |
Sender |
Instance of the sender object that is used for writing data to the response.
|
Name | Description | |
---|---|---|
CompleteRequest |
Completes the request.
| |
FileNotFound |
Responds HTTP code 404 Not Found.
| |
HandleClientCache |
Sets client cache headers. Responds HTTP code 304 Not Modified and returns true when requested file is in client's cache.
| |
ProcessRequest |
Process the request.
| |
ProcessRequestInternal |
Process the request.
| |
RespondNotModified |
Responds HTTP code 304 Not Modified.
| |
SetResponseHeaders |
Sets response headers.
| |
WriteBytes |
Streams the byte array to the response.
|