No this is really on client side, on server side StreamingOutput is designed for it.
PS: such questions dont really fit tomee list but maybe cxf ones or a more general JavaEE forum Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-27 11:25 GMT+01:00 mauro2java2011 <[email protected]>: > tank you for your response. > > If i have understand, into the entity i can specify the mymetype for > example. > > NOw suppose that i would adapt the tutorial of netbeans with SOAP into a web > service REST: > > GO at page : > > https://netbeans.org/kb/docs/websvc/flower-code-ws.html > > suppose that from a Swing client application i would get a object java Image > . > SO i can wrap the object Image into the Entity and specify the mymetype? > > A possible implementation of method in rest? > > tank you Mauro > > > > > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/rest-cxf-class-Entity-for-response-tp4673553p4673557.html > Sent from the TomEE Users mailing list archive at Nabble.com.
