Tercio, had made that. GWT do read the post body using InputStream. What I do is to make this read before, in my valve, and put this content on the parameters. On the RemoteServiceServlet I had to override the method readContent, so I can get the value from the parameter and not from "RPCServletUtils.readContentAsUtf8(request, true);"
I was wondering if exist a different way to get that, but not (I didn't find a different way :( ). Thanks a lot for answering Tercio. On 2 nov, 17:53, Tercio <[email protected]> wrote: > Why don't you override the RemoteServiceServlet? > > On Nov 1, 12:05 pm,JuDaC<[email protected]> wrote: > > > Hi folks! > > I'd like to know how RPC works, but I do not want to know about the > > proxy created and that abstraction we can easily found on GWT web > > page. I want to know exactly how the resquest is build. how the post > > message is sent. > > > I was reading to source code and it seems to me that a GWT class > > read it as a resource stream I saw it on RemoteServiceServlet class on > > the processPost method, the first thing that this method does is to > > invoke the readContent method, passing the request as parameter. > > > I would like to listen from you that I'm wrong and that the post > > info is not read as a resource stream, but as a parameter :) > > > I create a Valve to tomcat and I need to get the GWT post > > information before it reaches the GWT servlet. but the thing is that > > if it comes as an stream I can not do that. thats bad! :( > > I'm afraid that if I do that the GWT servlet won't work (I wish I were > > wrong here again). > > > Thanks a lot folks!!! > > Best Regards > > JDC -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
