Announcement Announcement Module
Collapse
No announcement yet.
Streams with HttpInvoker Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Streams with HttpInvoker

    Is it possible to expose IO streams directly using the HttpInvoker as a remoting implementation?

    Thank you,
    Edmon

  • #2
    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

    Comment

    Working...
    X