Is is possible to add a method to GWT RequestFactory's proxy class? Let's say I have this:
@ProxyFor(value = MyEntity.class)
interface MyEntityProxy extends EntityProxy {
String getData(); // got it on server side
}
GetData()
is backed at server side, that's fine. What if I'd like to add a method like this:
@ProxyFor(value = MyEntity.class)
interface MyEntityProxy extends EntityProxy {
String getData(); // got it on server side
String getDataAndAppendQwerty(); // want this one on client side
}
I want to manually implement getDataAndAppendQwerty()
. It's 100% client-side code and the question is just where should I put the implementation.
The answer would be AutoBean categories, but they're not (yet) surfaced in RequestFactory.