메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. | |
리턴 | void |
public ProcessRequest ( |
||
context | Context. | |
리턴 | void |
protected RespondFileNotFound ( |
||
context | Context. | |
리턴 | void |
protected RespondForbidden ( |
||
context | Context. | |
리턴 | void |
protected RespondInternalError ( |
||
context | Context. | |
리턴 | void |
public SetResponseCachePolicy ( System.Web.HttpCachePolicy cache ) : void | ||
cache | System.Web.HttpCachePolicy | Cache. |
리턴 | void |
public abstract ValidateParameters ( |
||
context | Context. | |
리턴 | bool |