That can be easier implemented in a custom MessageBodyWriter which
operates on InputStream. Or may be even in the StreamingOutputImpl.
Perhaps it would make sense to ship such a MessageBodyWriter...
Cheers, Sergey
On 21/09/11 15:43, Collard, David L (Dave) wrote:
ehcache could be used to cache the complete response, then
hand out byte ranges as requested. But I think this would
best be done in the CXF servlet implementation.
-----Original Message-----
From: Sergey Beryozkin [mailto:[email protected]]
Sent: Wednesday, September 21, 2011 10:39 AM
To: [email protected]
Subject: Re: CXF Servlet support of HTTP Byte Range
Though I guess the correlation is not actually needed for the concrete
impls. What about encache or similar, can they do it ?
Cheers, Sergey
On 21/09/11 15:36, Sergey Beryozkin wrote:
Hi
On 21/09/11 15:07, Collard, David L (Dave) wrote:
Does/Can CXF servlet support/be configured to support
HTTP Byte Ranges?
From http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
14.35 Range
14.35.1 Byte Ranges
I'm wondering if it is what the actual origin server may/should support,
say Tomcat or Apache ?
We don't support at the CXF level, I'm not even sure how the correlation
between multiple range requests is achieved, using cookies ?
Cheers, Sergey
Thanks,
-- Thor