C# Class Telemachus.IOPageResponsibility

Inheritance: IHTTPRequestResponsibility
显示文件 Open project: KSP-Telemachus/Telemachus Class Usage Examples

Public Methods

Method Description
process ( HttpListenerRequest request, HttpListenerResponse response ) : bool

Protected Methods

Method Description
buildPath ( string fileName ) : string
escapeFileName ( string fileName ) : string

Private Methods

Method Description
GetContentType ( string extension ) : HTMLResponseContentType

Method Details

buildPath() protected static method

protected static buildPath ( string fileName ) : string
fileName string
return string

escapeFileName() protected static method

protected static escapeFileName ( string fileName ) : string
fileName string
return string

process() public method

public process ( HttpListenerRequest request, HttpListenerResponse response ) : bool
request HttpListenerRequest
response HttpListenerResponse
return bool