src/HttpServer/FileSystemHandler.cs
/// <summary>
/// Return if handler can process the request
/// </summary>
/// <param name="httpContext">HTTP context of request/response</param>
/// <returns>Handler can process or not the request</returns>
Return if handler can process the request
Return if handler can process the request
public bool CanProcessRequest(HttpContext httpContext)
        {
            return false;
        }
public bool CanProcessRequest ( HttpContext httpContext ) { return false ; }
Return if handler can process the request
Return if handler can process the request
// no URL, process default page // if (httpContext.Request.URL == String.Empty) //    return true; // get real file path in webroot directory // string filePath = httpContext.Server.MapPath(httpContext.Request.URL.TrimStart('/')); // return File.Exists(filePath);
Handler can process or not the request
Handler can process or not the request
httpContext
HttpContext
HTTP context of request/response
HTTP context of request / response