C# Class RockWeb.GetFile

Handles retrieving file data from storage
Inheritance: IHttpAsyncHandler
Afficher le fichier Open project: CentralAZ/Rockit-CentralAZ

Méthodes publiques

Méthode Description
BeginProcessRequest ( HttpContext context, AsyncCallback cb, object extraData ) : IAsyncResult

Called to initialize an asynchronous call to the HTTP handler.

EndProcessRequest ( IAsyncResult result ) : void

Provides an end method for an asynchronous process.

ProcessRequest ( HttpContext context ) : void

Enables processing of HTTP Web requests by a custom HttpHandler that implements the T:System.Web.IHttpHandler interface.

Private Methods

Méthode Description
BeginProcessBinaryFileRequest ( HttpContext context, AsyncCallback cb ) : IAsyncResult

Begins the process binary file request.

BeginProcessContentFileRequest ( HttpContext context ) : IAsyncResult

Begins the process content file request.

SendNotAuthorized ( HttpContext context ) : void

Sends a 403 (forbidden)

Method Details

BeginProcessRequest() public méthode

Called to initialize an asynchronous call to the HTTP handler.
public BeginProcessRequest ( HttpContext context, AsyncCallback cb, object extraData ) : IAsyncResult
context System.Web.HttpContext An HttpContext that provides references to intrinsic server objects used to service HTTP requests.
cb AsyncCallback The AsyncCallback to call when the asynchronous method call is complete.
extraData object Any state data needed to process the request.
Résultat IAsyncResult

EndProcessRequest() public méthode

Provides an end method for an asynchronous process.
public EndProcessRequest ( IAsyncResult result ) : void
result IAsyncResult An IAsyncResult that contains information about the status of the process.
Résultat void

ProcessRequest() public méthode

Enables processing of HTTP Web requests by a custom HttpHandler that implements the T:System.Web.IHttpHandler interface.
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
Résultat void