src/HttpServer/HttpHandlerBase.cs
/// <summary>
/// Resolve and return the HTTP handler for the HTTP context of request/response
/// </summary>
/// <param name="httpContext">HTTP context of request/response</param>
/// <returns>HTTP handler for processing the request</returns>
Resolve and return the HTTP handler for the HTTP context of request/response
Resolve and return the HTTP handler for the HTTP context of request / response
public virtual IHttpHandler ResolveHandler(string url, HttpContext httpContext)
        {
            IHttpHandler handler = null;
            if (this.Handlers.ContainsKey(url))
            {
                return (IHttpHandler)this.Handlers[url];
            }
            return handler;
        }
public virtual IHttpHandler ResolveHandler ( string url , HttpContext httpContext ) { IHttpHandler handler = null ; if ( this . Handlers . ContainsKey ( url ) ) { return ( IHttpHandler ) this . Handlers [ url ] ; } return handler ; }
Resolve and return the HTTP handler for the HTTP context of request/response
Resolve and return the HTTP handler for the HTTP context of request / response
// check URL for handler
HTTP handler for processing the request
HTTP handler for processing the request
url
string
httpContext
HttpContext
HTTP context of request/response
HTTP context of request / response