hugoloza / gwt-platform

Automatically exported from code.google.com/p/gwt-platform
0 stars 0 forks source link

Enhancement to DefaultDispatchAsync #402

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to extend the DefaultDispatchAsync to provide your own baseUrl for 
requests
2. It won't work...

What is the expected output? What do you see instead?
I would like a protected method added to allow us to provide a custom baseUrl 
to both the execute(...) and undo(...) methods so that the method can be 
overridden in an extended class.

What version of the product are you using? On what operating system?
0.7

Please provide any additional information below.

In order to accomplish this currently I have copied the code for 
DefaultDispatchAsync to provide my own class and I have modified it to use 
getBaseUrl instead of the class variable baseUrl.  The update is attached.

Original issue reported on code.google.com by BConoly on 14 Feb 2012 at 11:16

Attachments: