logo       
Google Custom Search
    AddThis Social Bookmark Button

support InputStream as method return type or last method arg to avoid clien: msg#00012

Subject: support InputStream as method return type or last method arg to avoid client's hacking of protocol
Hi, another idea regarding Hessian. I'd think it's feasible to
implement the client interface of hessian that when the service method
takes its last argument as InputStream or Reader, or return
InputStream or Reader, the binary or character streams are
automatically wrapped.

I don't know if this feature is already implemented by 2.0 or 1.02,
seems it is not by 1.01 coz the "Hessian with large binary data"
section is still in the user guide
(http://www.caucho.com/resin-3.0/protocols/hessian.xtp). I don't think
this hack is needed if InputStream and Reader are properly wrapped.

Best Regards,
Compl



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>