<div dir="ltr">Previously I&#39;ve asked about streaming a single file back to the client and got some good insight as to how to accomplish this with `transferFrom`, but this misses out on all the extra features like resuming transfers, cached content, etc.  It would be very nice Undertow offered a static utility method to serve up File, Path, and URL providing all of this functionality that is currently contained in ResourceHandler (<a href="https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/handlers/resource/ResourceHandler.java#L155">https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/handlers/resource/ResourceHandler.java#L155</a>).<div><br></div><div>I don&#39;t think it would be difficult to extract all of that out of the private method and simply have ResourceHandler call the static method.  Stuart, what do you think?</div><div><br></div><div>I&#39;d even be willing to do the leg-work if you&#39;d be willing to accept a PR for it.</div></div>