PDA

View Full Version : Streams with HttpInvoker



ebegoli
May 19th, 2005, 01:49 PM
Is it possible to expose IO streams directly using the HttpInvoker as a remoting implementation?

Thank you,
Edmon

Juergen Hoeller
May 25th, 2005, 09:02 AM
No, HTTP invoker is only made for transferring serializable objects via RPC.

For streaming, I would recommend to create a plain HttpServlet or Spring Web MVC Controller, working at the HttpServletRequest / HttpServletResponse level: parse incoming request parameters and send a corresponding response stream as result.

Juergen