Hi,
I am currently working on a java project that uses hessian and burlap (3.0.8,
ancient, I know ;)) over http. It is sometimes useful to customize the request
headers (ex: adding a Connection: Close) or reading the response header (ex:
catching a Set-Cookie sent back by the server). One way to do this would be to
pass to the HessianProxyFactory.create() method a URL instance (containing a
custom UrlStreamHandler) instead of a String that Hessian then uses to
instantiate a URL.
1) Are there alternatives in the latest version of hessian to read and write
the connection headers (if the connection is an HttpUrlConnection) ?
2) Is there a strong argument against having an hessian client customize the
UrlStreamHandler (maybe the latest version of hessian already uses a custom
handler, and providing a new one would break the invoke method) ?
3) If the answer to 2) is no, then could the next versions of the
HessianProxyFactory and BurlapProxyFactory containing such overloads (I can
send a patch if needed) ? Obviously there is no need to bother with the current
and older versions of hessian and burlap, I can upgrade to the appropriate
burlap and hessian versions.
Thanks for your time,
-- Lorenzo
_________________________________________________________________
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free
today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger
_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest