[jboss-user] [Remoting] - Re: HTTPUnMarshaller and InvocationResponse objects
do-not-reply at jboss.com
Thu Jul 9 20:19:50 EDT 2009
HTTPMarshaller and HTTPUnMarshaller include special handling for strings in order to avoid serialization. The problem is that old test for "string" or "not string", which worked prior to JBREM-653 "allow user to set content-type for http responses" is no longer appropriate.
I'm thinking that anything with a content-type starting with "text/" should be read as a string by HTTPUnMarshaller. That means that an org.jboss.remoting.ServerInvocationHandler should set the content-type to something starting "text/" only if it returns a response of Java type String.
Does that sound reasonable to you?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242732#4242732
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242732
More information about the jboss-user