Friday, March 1, 2013

remove final from public final void RemoteServiceServlet.processPost

Now (up to version 2.5) we are not allowed to override RemoteServiceServlet.processPost because it is a final method. RemoteServiceServlet just allows String Serialization/Deserialization. My application allow users to download some files (in stream). I can implement this in a regular Java servlet. In this case, same business logic spreads two classes. If RemoteServiceServlet.processPost is allowed to override, I can implement it to allow processPost to return either string or stream through response. Does GWT committee have a plan to relieve this restriction?


James

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment