Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jersey-dev] Range request implementation


I'm looking to implement range requests with Jersey 2.x:

Is there a "canonical" implementation of this?

>From looking at a few sources
I gather that the implementation involves:
* a ContainerResponseFilter (or possibly WriterInterceptor?) that
parses the Range header
* a subclass of StreamingOutput that slices the entity bytes according
to the range

Does that sound reasonable? I'd very much reuse a time-tested library however.


Back to the top