Wondering if there is any way to ensure that the following RPC call to getSomething() contains a certain parameter which is not an arg. I am trying to avoid adding args to the method call. My hope is to force a parameter in each call from various places and handle that on the server side only. There are multiple places where this service is called from and changing a method signature would mean all the calls have to be updated at the same time.
Perhaps alter request, or something like that.
thanks!
	
							
						
					Perhaps alter request, or something like that.
thanks!
Code:
	
	// inject parameter in the following call
   ???
// make the call
SomeService.App.getInstance().getSomething(
            arg1, 
            new AsyncCallback<RPCMessage>() {
                @Override
                public void onFailure(Throwable throwable) {
                       //Uh-oh
                }
               @Override
               public void onSuccess(RPCMessage rpcMessage) {
                       //Yey!
               }
);

Comment