Hi Tom,
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?
-Ron
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242732#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...