Method | Description | |
---|---|---|
HandleRequest ( |
Handles the request. This is where you put your business logic. This method should result in a call to one (or more) of the following methods:
etc... If you want a download box to show up with a pre-populated filename, add this call here (supplying a real filename).
Response.AddHeader("Content-Disposition" , "attachment; filename=\"" + Filename + "\""); |
|
ProcessRequest ( |
Processs the incoming HTTP request.
|
|
SetResponseCachePolicy ( System.Web.HttpCachePolicy cache ) : void |
Sets the cache policy. Unless a handler overrides this method, handlers will not allow a respons to be cached.
|
|
ValidateParameters ( |
Validates the parameters. Inheriting classes must implement this and return true if the parameters are valid, otherwise false.
|
Method | Description | |
---|---|---|
RespondFileNotFound ( |
Helper method used to Respond to the request that the file was not found.
|
|
RespondForbidden ( |
Helper method used to Respond to the request that the request in attempting to access a resource that the user does not have access to.
|
|
RespondInternalError ( |
Helper method used to Respond to the request that an error occurred in processing the request.
|
public abstract HandleRequest ( |
||
context | Context. | |
return | void |
public ProcessRequest ( |
||
context | Context. | |
return | void |
protected RespondFileNotFound ( |
||
context | Context. | |
return | void |
protected RespondForbidden ( |
||
context | Context. | |
return | void |
protected RespondInternalError ( |
||
context | Context. | |
return | void |
public SetResponseCachePolicy ( System.Web.HttpCachePolicy cache ) : void | ||
cache | System.Web.HttpCachePolicy | Cache. |
return | void |
public abstract ValidateParameters ( |
||
context | Context. | |
return | bool |