C# Class NSoft.NFramework.FusionCharts.Web.ResourceFileHandler

FusionChart SWF File 을 리소스로부터 읽어서 제공하는 Handler입니다. Parameter로는 file=line 이런 식으로 줘야 합니다.
Inheritance: NSoft.NFramework.Web.HttpHandlers.AbstractHttpAsyncHandler
ファイルを表示 Open project: debop/NFramework

Protected Methods

Method Description
DoProcessRequest ( HttpContext context ) : void

HttpContext의 요청정보를 바탕으로 HttpHandler의 실제 작업을 처리하는 메소드입니다.

WriteChartFile ( HttpContext context, string filename ) : void

지정한 HttpContext에 리소스 파일을 씁니다.

Private Methods

Method Description
GetCacheKey ( string filename ) : string
GetResourceFileContent ( HttpContext context, string filename ) : byte[]

지정한 파일명에 해당하는 리소스를 로드하여 Stream으로 반환한다.

SaveToCache ( HttpContext context, string key, object value, System.TimeSpan duration ) : void

서버 메모리 캐시에 파일 정보를 저장합니다

SetRepsonseHeaders ( HttpContext context, string filename ) : void

Header에 ContentType, Cache 설정을 수행합니다.

Method Details

DoProcessRequest() protected method

HttpContext의 요청정보를 바탕으로 HttpHandler의 실제 작업을 처리하는 메소드입니다.
protected DoProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void

WriteChartFile() protected method

지정한 HttpContext에 리소스 파일을 씁니다.
protected WriteChartFile ( HttpContext context, string filename ) : void
context System.Web.HttpContext
filename string
return void