C# Class RockWeb.GetFile

Handles retrieving file data from storage
Inheritance: IHttpAsyncHandler
Show file Open project: CentralAZ/Rockit-CentralAZ

Public Methods

Method 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

Method 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 method

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.
return IAsyncResult

EndProcessRequest() public method

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.
return void

ProcessRequest() public method

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.
return void