public IHttpResponse Handle(IHttpRequest request) { IHttpResponse httpResponse; if (ResourceUtilities.IsResourceRequest(request.Path)) { httpResponse = this.resourceHandler.Handle(request); } else { httpResponse = this.htmlHandler.Handle(request); } return(httpResponse); }