C# Class WhiskWork.CommondLineWebServer.WebRouter

ファイルを表示 Open project: jorn-ola-birkeland/WhiskWork Class Usage Examples

Public Methods

Method Description
ProcessRequest ( IHttpListenerContext httpcontext ) : void
WebRouter ( IWorkflowRepository workflowRepository, string webDirectory, string logFilePath ) : System

Private Methods

Method Description
CopyHeaders ( NameValueCollection fromHeaders, NameValueCollection toHeaders ) : void
CopyResponse ( WorkflowHttpResponse fromResponse, HttpListenerResponse response ) : void
GetContentType ( string path ) : string
ProcessWorkflowRequest ( IHttpListenerContext httpcontext ) : void
TryReturnFile ( HttpListenerResponse response, string path ) : bool

Method Details

ProcessRequest() public method

public ProcessRequest ( IHttpListenerContext httpcontext ) : void
httpcontext IHttpListenerContext
return void

WebRouter() public method

public WebRouter ( IWorkflowRepository workflowRepository, string webDirectory, string logFilePath ) : System
workflowRepository IWorkflowRepository
webDirectory string
logFilePath string
return System