C# 클래스 RockWeb.GetImage

Handles retrieving file (image) data from storage, with all the bells and whistles.
상속: IHttpHandler
파일 보기 프로젝트 열기: CentralAZ/Rockit-CentralAZ

공개 메소드들

메소드 설명
ProcessRequest ( HttpContext context ) : void

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

비공개 메소드들

메소드 설명
Cache ( byte fileContent, string physFilePath ) : void

Caches the specified file content.

FetchFromCache ( string physFilePath ) : byte[]

Fetches from cache.

GetFromBinaryFileService ( HttpContext context, int fileId, System.Guid fileGuid ) : BinaryFile

Gets from binary file service.

GetResized ( NameValueCollection queryString, byte fileContent ) : byte[]

Resizes and returns the resized content

ProcessBinaryFileRequest ( HttpContext context ) : void

Processes the binary file request.

ProcessContentFileRequest ( HttpContext context ) : void

Processes the content file request.

SendNotAuthorized ( HttpContext context ) : void

Sends a 403 (forbidden)

SendNotFound ( HttpContext context ) : void

Sends 404 status.

UrlQueryToCachedFileName ( NameValueCollection queryString, string mimeType ) : string

URLs the name of the query to cached file.

메소드 상세

ProcessRequest() 공개 메소드

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.
리턴 void