tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: how stream a image from a web service apache cxf ?
Date Thu, 10 Apr 2014 08:04:18 GMT
Hi

personally I use
https://jsr311.java.net/nonav/javadoc/javax/ws/rs/core/StreamingOutput.html
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-04-10 10:00 GMT+02:00 mauro2java2011 <mauro2java2011@gmail.com>:
>
> http://
> http://www.javatips.net/blog/2013/06/download-image-file-using-cxf-rest-jax-rs
> <http://
> http://www.javatips.net/blog/2013/06/download-image-file-using-cxf-rest-jax-rs>
>
>
> The above tutorial show how download a file image from webservice apache
> rest cxf.
>
> but it permit to make save file on device client like saveAs .
>
> i would know how get a image for visualise it into a web page with using the
> call at webservice .
>
> I think that i have to stream the image and not set the content- disposition
> from the method into web service?
>
> Do you have a link for ot or suggestions...?
>
>
>
>
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/how-stream-a-image-from-a-web-service-apache-cxf-tp4668691.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message