I present for your consideration the kind of logic I normally use for range requests with the jdk.httpserver. It can resume downloads and properly stream video to the browser.
Link to Gist <https://gist.github.com/SentryMan/cd59bfecd55fa0e0c9244d390c175f9f> -- Cheers, Josiah.